darozak / Advolition

1 stars 0 forks source link

Create Engine class #10

Closed darozak closed 7 months ago

darozak commented 7 months ago

The Engine class will be responsible for reading, evaluating, and resolving the events that that are created by the robot and NPCs to take place at some delayed point in the futures. All environmental variables will be managed and set by the engine. The robot and NPCs will only interact with the world be setting events to be addressed by the engine.

darozak commented 7 months ago

All set! I created an Engine class that manages the actual actions (https://github.com/darozak/Advolition/commit/c6a30d20c6cc69d0b54d096b821c6d5406aab0b0). The robot object now passes action requests to the engine and relies on the engine to perform those actions.