Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now
- - - - -

interface inheritance issue

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Wipe   Members   

381
Like
1Likes
Like

Posted 17 February 2013 - 03:48 PM

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



#2 Andreas Jonsson   Moderators   

4629
Like
0Likes
Like

Posted 17 February 2013 - 05:35 PM

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

#3 Andreas Jonsson   Moderators   

4629
Like
0Likes
Like

Posted 18 February 2013 - 06:10 PM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.