Advertisement

Animating Asteroids

  • Graeme Stuart
Chapter

Abstract

In this chapter we’re going to introduce some critical structure into our code. The previous few chapters introduced the requirement to store data tied to our game elements. This chapter introduces the use of objects as a solution to the explosion in complexity this brings. Objects are a great solution because they enable data and code to be intimately connected.

Copyright information

© Graeme Stuart 2017

Authors and Affiliations

  • Graeme Stuart
    • 1
  1. 1.Market HarboroughUK

Personalised recommendations