🎉 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!

Inheritance

Started by
1 comment, last by Pris 16 years, 8 months ago
Hi, I've got script code like this:

class A : IAppRegInf
{
	void foo()
	{
	}
};


class B : A
{
};
where IAppRegInf is interface registered by application and foo is registered method. When this script code is build, class B cause error message.

Missing implementation of 'void A::foo()'
So this is bug or this feature is not implemented, inheriting from class that inherit from application registered interface. Best regards Marcin Musial [Edited by - Pris on October 19, 2007 3:12:23 PM]
Advertisement
Hi Marcin,

Inheritance from classes hasn't been implemented yet, it's coming in a future version. The compilation should have give you an error when you wrote 'class B : A', since A is a class and not an interface. I'll look into why it didn't do that.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Hi,

Ok, so I waiting for this feature. Thank you for help.

Best regards,
Marcin Musia

This topic is closed to new replies.

Advertisement