How To Build a Finite State Machine (FSM) with Swift (Pt. 2)

In the previous post, the FSM we designed was based on actually two distinct protocols. One for the states and the other one for the delegate. »

How To Build a Finite State Machine (FSM) with Swift

Yes, I admit, I ♥ Swift. Currently, I'm working on a game. For the AI of this game, I decided to use Finite State Machines (FSMs). This »