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

@ -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);