The same goes for Android: only the namespace changes. Let's set this up by going through the following steps:
- In the WhackABox.Android project, add a new file called Game.cs.
- Add the code as shown in the following snippet:
using Urho;
namespace WhackABox.Droid
{
public class Game : WhackABox.Game
{
public Game(ApplicationOptions options) : base(options)
{
}
}
}
As you see, it's identical compared to the iOS code except for the namespace. Let's now start adding some platform-specific code.