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
|
@ -5,7 +5,7 @@ void Entity::move(Point loc) {
|
|||
}
|
||||
|
||||
void Entity::event(EntityEvent ev) {
|
||||
switch(_state) {
|
||||
switch($state) {
|
||||
FSM_STATE(EntityState, START, ev);
|
||||
FSM_STATE(EntityState, HUNTING, ev);
|
||||
FSM_STATE(EntityState, DEAD, ev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue