RacePolicy added
TechnologyManager template functionality added again
TechnologyManager modified and functionality added
- The function checkBuildListPossible() is now not longer in TechnologyList, but instead part of TechnologyManager
- The TechnologyList is now initiated in the constructor according to the Race f.e. if the Race is Protoss, Probes and a Nexus already exist in the initial GameState
Changed Simulation.h and Simulation.cpp. It uses Templates now. Still many Compiler-Errors, changes in other Classes needed
Merge branch 'testMe' of https://github.com/utzms/StarcraftProjectAdvpt into testMe
compiling version with templates, still segfaults as nothing is adapted
Template correctly adapted, working for Protoss and Terran.

Compile via "make test2" for nondebug, "make test" leads to debug outputs
old files not working anymore (because of Templates)

execute binary: './bin/runme ./buildlists/bla.txt' (bla=protoss2 v protoss1......)

still missing:
-simulation still has to call 'checkAndGetVanishing' for vanishing requirements
-zerg larvae (idea: specialFunction in RacePolicy, which is called each timestep)
-energy still missing in every case, consequently no special abilities implemented yet
-check if buildlistpossible not called, but implemented in techmanager

summary:
almost done
TechnologyManager: getBuildingListPossible() fix
Merge branch 'testMe' of https://github.com/utzms/StarcraftProjectAdvpt into testMe
Simulation now terminates if a buildList is not possible. This is done in the constructor
changed Simulation, that it throws an Exception if the BuildList is not possible. In the main its catched and then tested with another race. In that way the simulation can test which race it should take.
Changed main.cpp, now compilation can be made without test.
few changes simulation
bla
TechnologyManager: isBuildListPossible() provides now also a supply check
TechnologyManager: fixed checkTechnologyCosts()
TechnologyManager: fixed isBuildListPossible
TechnologyManager: fixed isBuildListPossible
Fixed Bug in GameStateUpdate and Simulation
Bug fixed in Simulation.cpp