Creating a whole game or even a large part of the described scenario would miss the point of this example. We will just create a custom node which should in the end look a spaceship. Well, spaceship might be over exaggerated; a simple spaceship-like object is what we are aiming for. Here is a rough sketch of what our object should look like when it's finished. It basically consists of seven triangles:
We will use the template application from Chapter 2, Creating a Basic Template Application as our starting point.
CSpapeShipwhich inherits from