Conver to using \ for member variables in classes. In structs just use the name.
This commit is contained in:
parent
187edb898e
commit
5cf66aad02
8 changed files with 143 additions and 144 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue