summaryrefslogtreecommitdiff
path: root/src/dna.cpp
AgeCommit message (Collapse)Author
2017-03-07-added more detailed mutation function, eventually a normal distrobution ↵majortom6
will be implemented -added roll function, which takes a float ie (.15) and returns a true that percent of the time
2017-03-07-began refractoring srcmajortom6
-reduced area creatures and resources spawn -everything should be on 8 spaces now -reorganized creatures action function to make more logical sense -stripped out unused parts of geoshader and spritebatch
2017-03-07-removed all references to sdl_rect and location and now everything now uses ↵majortom6
our own class rectangle -standardization of tab spaces to 8 is now in effect -refractoring of graphicsobjects.hpp
2017-02-12-added DNA combining, currently it just takes the average of the mother and ↵tom
father -there maybe a random segfault, further investigation is needed
2017-02-12-minor constant changestom
-implemented dna structure, which carries the creatures attributes suchas speed and reach -currently a child inherits 100% the same dna as the mother -removed sing namespace std