Commit Graph

15 Commits

Author SHA1 Message Date
SeanOMik 283601200d
snake example: Don't allow player to attempt to move backwards. 2021-04-03 22:30:51 -05:00
SeanOMik 94cbd111e8
Change the command handler to update its own list of entities 2021-04-03 22:27:44 -05:00
SeanOMik 62ade4de04
Create simpleengine::Random class, remove simpleengine::random namespace 2021-03-12 21:27:45 -06:00
SeanOMik 8848047f73
Create an EventCallback system 2021-03-12 21:01:38 -06:00
SeanOMik b9255b1bfb
Compiler warnings, and don't dynamic_cast twice in Entity::GetComponent 2021-03-12 17:33:10 -06:00
SeanOMik 4e15efa665
Change created by date for collision handler header. 2021-03-12 16:45:00 -06:00
SeanOMik 5984c75047
Create terrible collision system and mostly finish snake example 2021-03-01 22:08:10 -06:00
SeanOMik 6c28dba5dc Update snake example, remove some compiler warning 2020-11-04 12:57:44 -06:00
SeanOMik 3b63025a3f
Separate `&` from parameter names in methods. 2020-07-06 00:45:24 -05:00
SeanOMik 5bedd85584
Make Entity::Update call UpdateComponents by default instead of an event 2020-07-04 16:42:11 -05:00
SeanOMik f639894a0d
Remove some uncommented code in snake example and change window name 2020-07-04 15:21:44 -05:00
SeanOMik 98fdde324f
Make EntityEvent update entities components - Add simple snake movement 2020-07-04 13:55:40 -05:00
SeanOMik b24f4feb4a
Rework some stuff for memory 2020-07-03 15:26:44 -05:00
SeanOMik 7ced4f85cf
Remove default render target of nullptr. 2020-07-03 13:34:22 -05:00
SeanOMik ca64ab7a21
Rename `first_example` to `snake`. Also create entity & component system 2020-07-03 13:31:17 -05:00