referenced assembly. Right click the Referneces node under the project and select Add Reference.
In the dialog which appears, find the entry for Microsoft.Devices.Sensors, select it and click the OK button:
Adding a reference to the project
Change the Catapult class to derive from the DrawableGameComponent class, as it logically represents just that – a game component that can be drawn:
class Catapult : DrawableGameComponent
Page | 44