Commit graph

357 commits

Author SHA1 Message Date
Gered 7c8e1dc21c add balls_v2 example 2022-05-15 16:34:25 -04:00
Gered 2f23bc5ce1 add is_empty method to States
this is intended to allow a game loop to determine if the state
manager is actually doing anything or not, allowing the game loop to
exit out when it determines if there are no states and no more pending
states.
2022-05-15 14:41:23 -04:00
Gered 4e291f33dc add contains_key convenience component store method 2022-05-15 14:40:06 -04:00
Gered 2470919d17 ComponentSystems update/render functions now only take context argument
most apps would almost certainly want to add an Entities instance
to whatever context they were going to be passing in to these functions,
but removing the explicit dependency directly to ComponentSystems itself
removes some ownership issues.
2022-05-15 12:27:12 -04:00
Gered a05be17821 update gitignore 2022-05-15 12:14:12 -04:00
Gered 4c5c397d9e add "balls" example 2022-05-15 12:13:29 -04:00
Gered 38e6826440 initial commit 2022-05-15 12:11:46 -04:00