I am using LibGDX for a 2D game. I have a class BasicActor that extends Actor which is a class inside the LibGDX library. By pressing alt + 1 while coding inside the BasicActor Eclipse shows suggestions such as implementing methods of a parent class. For some reason it doesn't this time. It's been a while since I coded with eclipse and I want to know if there is a mistake on my side or if this simply won't work that way.
- 1extend vs implement, there's nothing to implement if you extended some classe (unless it's abstract)user180100– user1801002016-08-13 18:41:30 +00:00Commented Aug 13, 2016 at 18:41
- I forgot about that, thank you!Dawesign– Dawesign2016-08-13 18:45:18 +00:00Commented Aug 13, 2016 at 18:45
Add a comment |
2 Answers
Hum... [ALT][1]? I didn't know that shortcut, but in all Eclipse editions I've used there are two ways to override super-methods:
- Press
[CTRL][SPACE]with the cursor into a class' body. A pop-up list of overridable methods and other stuff will appear. - Execute
Source > Override/implement methods.