• Advertisement
Sign in to follow this  
  • entries
    17
  • comments
    37
  • views
    8917

PLayer

Sign in to follow this  

310 views

Hi my friends...

this is my first post in 2006 =D

I present you the PLayer class:

PLayer : PInputEventReceiver


private:
PList* FGraphicObjects;

std::string FLayerID;
SColor* FColor;
public:
PLayer(std::string ALayerID, SRect* ABounds, IVideoDriver* AVideoDriver);
std::string GetLayerID(void);
void SetLayerID(std::string AValue);

void Draw(void);





This class will be responsible for Keep all objects in the screen, I prefered use the layers because it has the order benefit...

For while, this class just has this few methods, I have not thought in another funcionallity for it.

The draw method just will draw its graphic objects =D

Tomorrow I'll show the PPanel class and after that, I'll need your help to know "what path I have to follow" =P

Thanx...

PS: I'm sorry about the late...
Sign in to follow this  


2 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement