Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Edgyr45

Member Since 14 Jan 2013
Offline Last Active May 01 2013 10:18 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


PARTNERS