Mostly pulled out all of the ftxui rendering into cleaner areas.

This commit is contained in:
Zed A. Shaw 2024-10-02 18:55:17 -04:00
parent 710076edfb
commit 10e5f53292
3 changed files with 13 additions and 2 deletions

View file

@ -13,12 +13,15 @@ enum class EntityEvent {
class Entity : public DeadSimpleFSM<EntityState, EntityEvent> {
public:
Point location;
Point location{0,0};
int hp = 20;
int damage = 10;
Entity() {
}
Entity(Point loc) : location(loc) {
};
}
// disable copy
Entity(Entity &e) = delete;