changed class GameParameters to struct