Skip to content

Commit 118b50a

Browse files
authored
Remove inaccurate information in state machine guide
1 parent 2c7106c commit 118b50a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

content/guides/03-handbook/10-state-machines.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ class SomeVisual extends Visual
107107
machine.state = WALKING;
108108
}
109109
110-
// You can still optionally implement the
111-
// methods you want from the class where the
112-
// state machine is plugged. This will work as
113-
// long as your property holding the state
114-
// machine is marked as @component
115-
function WALKING_update(delta:Float) {}
116110
...
117111
}
118112
```
@@ -165,4 +159,4 @@ That's it! You would have a similar class for `IdleState`. This way, you can sep
165159

166160
### That's all about state machines for now
167161

168-
This guide should have gave you a good overview of how you can use state machines in Ceramic. You can see a practical usage of `StateMachine` from the [pixel platformer](/examples/pixel-platformer/) sample, and more specifically the [`Player` class source code](https://github.com/ceramic-engine/ceramic-samples/blob/master/pixel-platformer/src/Player.hx).
162+
This guide should have gave you a good overview of how you can use state machines in Ceramic. You can see a practical usage of `StateMachine` from the [pixel platformer](/examples/pixel-platformer/) sample, and more specifically the [`Player` class source code](https://github.com/ceramic-engine/ceramic-samples/blob/master/pixel-platformer/src/Player.hx).

0 commit comments

Comments
 (0)