Public feed #726599

I

public cpp v1 · immutable
Raw Edit
·published 2007-10-05 10:57 UTC
rendered paste body
class Character{private:	//The coordinats	int x, y;	//The surface representing the character	SDL_Surface *avatar;public:	//Constructor	Character (std::string avatar_filename, int X, int Y);	//Destructor	~Character ();	//Handle events (both human and AI)	virtual void handle_events ();	//Shows the character	void show ();};class Human : public Character{	//Handles the events	void handle_events ();};