Added missing override annotations
This commit is contained in:
@ -11,11 +11,13 @@ public class Gap extends cicaprojekt.Tile {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntry(PlayerBase playerBase) {
|
||||
super.onEntry(playerBase);
|
||||
playerBase.destroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onExit(PlayerBase playerBase) throws IllegalStateException {
|
||||
throw new IllegalStateException("Hiba! A szakadékból nem jut ki semmi!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user