View Single Post
  #23  
Old 01-29-2008, 12:24 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Codein View Post
Or, like in C++ Classes, being able to define the private and public variables like so:

PHP Code:
public:
char ani;
char name[20];

private:
int health;
float xy
Seems like that would kinda suck if we had to start doing int, etc.


Just like at the beginning something like

PHP Code:
private gansta;
private 
gP gangsta.newParadise();

// in another block of code

with theThing )
{
  
gP.addGangsta"Snappy Bro" );
}

// would not work 
__________________
Reply With Quote