Box2D Cannon Game
Chapter 7 of Ian Parberry's "Introduction to Game Physics with Box2D"
 All Classes Files Functions Variables Enumerations Friends Pages
Classes | Functions
objectworld.h File Reference

Interface for the object world class CObjectWorld. More...

#include "ObjectManager.h"
#include "hud.h"
#include "Cannon.h"

Classes

class  CObjectWorld
 The object world. More...
 

Functions

BOOL KeyboardHandler (WPARAM k)
 

Detailed Description

Interface for the object world class CObjectWorld.

Function Documentation

BOOL KeyboardHandler ( WPARAM  k)

Keyboard handler. Take the appropriate action when the user mashes a key on the keyboard.

Parameters
kVirtual key code for the key pressed
Returns
TRUE if the game is to exit