All pastes #885690 Raw Edit

erhqe

public cpp v1 · immutable
#885690 ·published 2008-01-31 01:40 UTC
rendered paste body
#ifndef ENTITYOPENGLRENDERABLE_H_#define ENTITYOPENGLRENDERABLE_H_#include "../include/Entity.h"//#include "../include/Scenegraph.h"using namespace std;class Scenegraph;class EntityOpenGLRenderable: public Entity{public:	EntityOpenGLRenderable();	virtual ~EntityOpenGLRenderable();		void setPosition(Coordinates *position);	virtual void setBeginAndEnd(Coordinates *begin, Coordinates *end) = 0;		virtual void drawOpenGL() = 0;		void deleteEntity(Scenegraph *scenegraph, string id);	protected:	float mWidth;	bool mPositionIsSet;	// true if mPosition is allready manualy specified};#endif /*ENTITYOPENGLRENDERABLE_H_*/