rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.18k stars 260 forks source link

update functions missing from IStateConfig type in FSMBase.d.ts #373

Closed wayfu closed 11 months ago

wayfu commented 11 months ago

Only specifies enter and exit atm...

rexrainbow commented 11 months ago

type of update, preupdate, postupdate parameters are defined in FSM.d.ts. FSMBase.js (FSMBase.d.ts) is a phaser independent class (i.e. can be used without phaser3), FSM.js (FSM.d.ts) is designed for phaser which has scene's update/preupdate/postupdate.

rexrainbow commented 11 months ago

Fixed in latest commit