summaryrefslogtreecommitdiff
path: root/src/resource.cpp
AgeCommit message (Collapse)Author
2016-05-02done refractoring typetom
2016-05-02commiting before refractoring type out of location and into entitytom
2016-05-02implemented the location fully into entitytom
2016-05-02spring cleaning, added framerate cap & started iterator replacementtom
2015-05-26revamped the list and creaturesTom
two bugs i can see right now -somehow when a resource has less than 0 amount it still sticks around (somewhat rare) -some creatures just bounce back and forth until they die not getting to their target
2015-05-08added removal of resources once eaten, from the L and R vectortom
creatures that done move don't die right now, we need them to wander if they dont have a priority **difficult**
2015-05-08death now works properlytom
2015-05-08all creatures should die now, and leave a body which is a resource.Tom Barrett
they currently don't have a way to gain health so they live short sad lives. haven't compiled or tested, so more work needs to be done
2015-05-08fixed some comments and cleaned aroundtom
2015-05-07Some variable names changed and many comments made so I understand what the ↵dakjos
fuck is going on
2015-05-05fleshed out list, locations of all creatures and resources are now withintom
2015-05-05fixed list to make it easy to add more creatures/resources.tom
need to figure out how to generate more random numbers after - implement resource amount and ability to eat
2015-05-02fixed in file namingtom
2015-04-30added creature and resource classestom