🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

PLayer

Published January 03, 2006
Advertisement
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...
Previous Entry Happy new year!!!
Next Entry A little doubt
0 likes 2 comments

Comments

choffstein
I like how you prefix arguments with "A"...I am going to steal that.
January 03, 2006 10:12 PM
Kerkhoff
Affirmative ;)

It's a borland coding style =) and I like it...

January 04, 2006 04:50 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Another Demo

1125 views

Link resolved....

1176 views

Update....

1149 views

Let's play... = )

1103 views

A little doubt

954 views

PLayer

991 views
Advertisement