Execute and return a new GameTurn.

This method calls do_pre_turn before executing the GameTurn and do_post_turn after.

Property definitions

bucketed_game $ Game :: do_turn
	# Execute and return a new GameTurn.
	#
	# This method calls `do_pre_turn` before executing the GameTurn
	# and `do_post_turn` after.
	fun do_turn: GameTurn[G]
	do
		var turn = new GameTurn[G](self)

		do_pre_turn(turn)
		buckets.do_turn(turn)
		do_post_turn(turn)

		last_turn = turn

		tick += 1

		return turn
	end
lib/bucketed_game/bucketed_game.nit:219,2--236,4