Jump to content
  • Advertisement
Sign in to follow this  
Dentoid

Static object methods

This topic is 4331 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey again I looked through the long todo list, and I couldn't find registering of static methods in there. Maybe I just missed it, or maybe it's already possible? What I'd like to do is basically have... well... static methods. :) So that if you've got an object type called "SomeObject" you can register a method "SomeMethod" as static to it, so the script can do: SomeObject.SomeMethod() Nothing important really, I'm mostly curious. :)

Share this post


Link to post
Share on other sites
Advertisement
no static properties and methods are not yet implemented.... but they're already on the todo list ! (as you, i need that too!!!)

Share this post


Link to post
Share on other sites
kunitoki is right, it is not yet implemented, but it is on the todo list. You'll find it under 'static declarations' near the bottom of the list.

As it's not a very important feature, the priority is currently very low for this.

If anyone is interested in implementing it, feel free to do so. I'll gladly add it to the official library.

Regards,
Andreas

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!