Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


Hi my friends...

this is my first post in 2006 =D

I present you the PLayer class:

PLayer : PInputEventReceiver

PList* FGraphicObjects;

std::string FLayerID;
SColor* FColor;
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


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


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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!