All pastes #1320047 Raw Edit

3D Buzz evil monkeys character.h

public cpp v1 · immutable
#1320047 ·published 2009-01-27 23:26 UTC
rendered paste body
#ifndef CHARACTER_H#define CHARACTER_H#include "sprite.h"class Character : public Sprite{public:	Character(Level *l, DrawEngine *de, int s_index, float x = 1, float y = 1, int i_lives = 3,		char up_key = 'w', char down_key = 's', char left_key = 'a', char right_key = 'd');		virtual bool keyPress(char c);protected:	char upKey;	char downKey;	char leftKey;	char rightKey;};#endif