Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
instead of calling constructor and init you now only have to call the constructor. In order to make this work this commit removes the uses of resources::gameboard/units during team construction. while doing that i moved the unit_creator class to a new file. This commit also removes the ticks parameter from game_startes constructor and replaces it with a ticks() function in play_controller, other classes were also changed to use the play_controller::ticks() function.
- Loading branch information
Showing
19 changed files
with
381 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.