patreeceeo / zomboban

Hey you should have clocked out hours aaAAAAAAAAAH!
https://innerlogic.co/game
0 stars 0 forks source link

use messages for inter-entity comm & rewrite action system #23

Closed patreeceeo closed 2 weeks ago

patreeceeo commented 2 weeks ago

Previously used actions for both inter-entity communication and performing actions. Now entities only queue their own actions and use messages with answers to decide what actions to take.

This required a complete rewrite of the ActionSystem, which is a lot more robust now.