smudge202 / clean-living

Walking a mile in the shoes of a game developer.
Apache License 2.0
4 stars 0 forks source link

Energy #17

Closed herecydev closed 9 years ago

herecydev commented 9 years ago
herecydev commented 9 years ago

Energy dimishes over time correctly and is outputting energy changed events. Currently listening to nourishmentchanged events (no hydration one yet @Smudge202 ).

Probably considering having a dependency that decides the frequency of gametime that energy should be subscribing to. The dependency can then listen to what items are consumed, e.g. sugary items and make decisions independently of the energy module.