Shakeskeyboarde / neverhaven

ISC License
1 stars 0 forks source link

Add game state ticking. #10

Open Shakeskeyboarde opened 1 month ago

Shakeskeyboarde commented 1 month ago

Update game nodes periodically.

The functionality of each game node will actually be provided by its attributes (#9). So, this will allow each attribute to handle the tick. Attributes may handle ticks by changing their own state, changing the node state, or emitting events. Events can be emitted to specific targets (attacks, interactions), or over a local area out to a specific distance (swarming, area effects), or globally.