Methods for the update process

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.

Starting a new 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.159.195