Advertisement

interface inheritance issue

Started by February 17, 2013 09:48 PM
1 comment, last by WitchLord 11 years, 9 months ago


shared interface ielement
{
    void func1();
}

shared interface iscreen : ielement
{
    void func2();
}

mixin class celementbase
{
    void func1()
    {
    }
}

class cscreen : celementbase, iscreen
{
    void func2()
    {
    }
}

void stuff( iscreen@ scr )
{
    scr.func1();
}


"No matching signatures to 'iscreen::func1()'".

rev1558

Games are meant to be created, not played...

Thanks. I'll look into this.

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

Advertisement

I've fixed this problem in revision 1563.

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

This topic is closed to new replies.

Advertisement