🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Scripts accessing the hosts objects?
Hello everyone, I'm creating a game, which I'd like to be API independent.. This means I have like an IRender interface, IInput and so on.. What I'm wondering is if AS is able to handle it?
[Edit]
Nevermind.. I think I found it in the manual.. Seems like AS doesn't support it.. But it also suggested how to fix it..
[Edited by - DvDmanDT on September 27, 2005 3:17:47 PM]
Actually AngelScript does support virtual methods, so you should be able to register methods for your interfaces.
What AngelScript doesn't support is virtual inheritance, which is normally used to minimize the class sizes in case of multiple inheritance with base classes that may share the same superclass.
Normal multiple inheritance is supported by AngelScript however. So if your class implements more than one interface, that should be ok with AS.
What AngelScript doesn't support is virtual inheritance, which is normally used to minimize the class sizes in case of multiple inheritance with base classes that may share the same superclass.
Normal multiple inheritance is supported by AngelScript however. So if your class implements more than one interface, that should be ok with AS.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement