Box2D Cannon Game with Stars
Chapter 8 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 ObjectWorld class CObjectWorld. More...

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

Classes

class  CObjectWorld
 The object world. More...
 

Functions

BOOL KeyboardHandler (WPARAM k)
 

Detailed Description

Interface for the ObjectWorld 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