Implemented onExit in Wall
This commit is contained in:
parent
6b11456b7a
commit
64e6aec176
@ -16,8 +16,15 @@ public class Wall extends Tile {
|
||||
}
|
||||
|
||||
public void onEntry() {
|
||||
if(sg == null) {
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void onExit() {
|
||||
throw new IllegalStateException("Hiba! Te hogy kerültél a falba?");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user