#include "libtcod.hpp" #include "Actor.h" Actor::Actor(int x, int y, std::string_view ch, const TCOD_ColorRGB& col) : x(x), y(y), ch(ch), col(col) { } void Actor::render(TCOD_Console& cons) const { tcod::print(cons, { x, y }, ch, col, std::nullopt); }