Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 14 Jan 2013
Offline Last Active Mar 27 2014 07:02 AM

Posts I've Made

In Topic: RegisterStaticMethod

22 February 2013 - 02:25 PM

Allright! I'll keep an eye on this feature.

Thanks for the answer!

In Topic: Object Communication

15 February 2013 - 11:01 AM

I'll run some test with this info.


Thank you very much

In Topic: Object Communication

15 February 2013 - 08:05 AM

Thanks for the reply!


I cannot predict in advance what functions the "production" programmer will want to use. In your example, you wrote : go2.GetController(). What type does it returns exactly? An asIScriptObject* from a script that implement IController ?


Does that mean, like InvalidPointer suggested, that I can simply cast it?


Zombie @ctrl = cast<Zombie>(go2.GetController());


And let the production programmer call whatever they want in Zombie.as? Or I tell them to use interfaces?


Thank you very much