Category: class

  • iPhone Game Programming – Tutorial 7 – Singleton Class

    iPhone Game Programming – Tutorial 7 – Singleton Class

    This is a small tutorial on how to create and use a Singleton class. Whilst I’ve been creating these tutorials it has become clear that managing state is important in your game. The ability to manage both the OpenGL state locally and also any state related to your game is a key building block for…