It is currently 27 Apr 2024, 07:04
   
Text Size

Override errors?

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Override errors?

Postby Rob Cashwalker » 20 Feb 2010, 05:33

Since I'm done with the abDrawCards, I finally was able to perform a complete update.
On a number of Gui_ classes, I'm now getting these errors:
"The method getCard() of type GuiDisplay2 must override a superclass method"
Am I now missing something new, or are these errors part of the work in progress on the card images?
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Override errors?

Postby silly freak » 20 Feb 2010, 10:01

that is not an error, 1.5 compiler says stat override is really override, but 1.6 says "override or implement". my eclipse automatically added the annotation with 1.6 settings. please just delete it ;)
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Override errors?

Postby DennisBergkamp » 20 Feb 2010, 19:18

Yeah just remove the "@Override".
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 89 guests


Who is online

In total there are 89 users online :: 0 registered, 0 hidden and 89 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 89 guests

Login Form