mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 09:02:30 +00:00

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.