Now that we have the methods that manage the tile map, we can think about detailing the
OnUpdate event of the game class. For this, we need some more methods that will help us during this state of the game.
It is always good practice to have the start of a new game or level done by a function or method. Sometimes, a lot of variables have to be set, and so let us do that here too.