Conver to using \ for member variables in classes. In structs just use the name.

This commit is contained in:
Zed A. Shaw 2024-10-03 17:05:23 -04:00
parent 187edb898e
commit 5cf66aad02
8 changed files with 143 additions and 144 deletions

View file

@ -11,8 +11,7 @@ enum class EntityEvent {
};
class Entity : public DeadSimpleFSM<EntityState, EntityEvent> {
public:
struct Entity : public DeadSimpleFSM<EntityState, EntityEvent> {
Point location{0,0};
int hp = 20;
int damage = 10;