Commit graph

7 commits

Author SHA1 Message Date
Marc Di Luzio
7e2fd0a8d1 Fix a few more bugs and implement more tests
Bug in infinite recursion on move assignment operator.
Bug in adding the wron units ID to the kill list.
2014-12-16 13:13:02 +00:00
Marc Di Luzio
aee703b107 Finialise the full game step
Had to rework a ton of code from bad design.
NOTE: FRIENDLY FIRE IS ON >:D
2014-12-16 13:13:01 +00:00
Marc Di Luzio
2f17a17587 fix using move semantics for no reason 2014-12-16 13:13:01 +00:00
Marc Di Luzio
0c7721cb17 remove unit inheritence, twas a silly idea, and remove usage of shared ptr and unique ptr not needed anymore 2014-12-16 13:13:01 +00:00
Marc Di Luzio
008739dee6 Various work towards a basic game implementation
Get rid of some virtual functions that weren't needed.
Fix some functions to work during static init if need be.
Units now have unique incremental IDs
2014-12-16 13:13:00 +00:00
Marc Di Luzio
a17a9db2ad lots of initial design for the game, and unit data 2014-12-16 13:12:58 +00:00
Marc Di Luzio
7f639a6bf4 Add new creation method from a visual representation 2014-12-16 13:12:56 +00:00