I need to know how to either create an object to where I can attach a list of
variables or how to give myself the ability to do the following:

lets say I want to name my special object: ball.

I want to be able to create special properties for that ball I can access
with .property (or variable)

for example:

ball.speed
ball.solid
ball.item
ball.gravity
ball.life
etc...


I don't mean Gambas, I mean just being able to attach variables to an object
like I mentioned.

I write a lot of games and this is something I need to know how to do or at
least get close to it.  I have read all the docs I can find and I am
probably overlooking it.

JB Skaggs
-- 
View this message in context: 
http://www.nabble.com/Object-creating-properties--ball.speed%2C-ball.solid%2C-etc-tp23110588p23110588.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to