On Tue, 16 Sep 2014, Randall Morgan wrote:
> Hi All,
> 
> This may be answered else where but I was unable to locate an answer using
> google.
> 
> I need to be able to query an object for it's class name. I have an object
> that gets passed an owner object then, the owner is changed to a new object
> of a different class (think fire balls being tossed a enemy subjects). I
> need to know if the object is owned by the player or the enemy. This way I
> can change it's state appropriately.
> 
> Thanks in advance for the helpful replies.
> 

Object.Class(yourObject).Name.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to