1#ifndef GRID_INTERFACE_H
2#define GRID_INTERFACE_H
12 class grid_operations;
28 [[nodiscard]]
virtual std::string
contents_of(std::shared_ptr<cell>
const& c)
const noexcept = 0;
33 [[nodiscard]]
virtual std::uint32_t
background_color_for(std::shared_ptr<cell>
const& c)
const noexcept = 0;
Interface for the grid class.
Definition grid_interface.h:20
virtual std::string contents_of(std::shared_ptr< cell > const &c) const noexcept=0
Get detailed information of a cell in the grid in the form of a string.
virtual std::uint32_t background_color_for(std::shared_ptr< cell > const &c) const noexcept=0
Returns the background color for the specified cell, if available.
virtual grid_operations & operations() noexcept=0
Get access to grid operations interface.
virtual ~grid_interface()=default
Virtual destructor for the grid_interface class.
Interface for grid navigation and manipulation operations.
Definition grid_operations.h:19