| 1 | package g0803.bindingofshiba.model.game.room; | |
| 2 | ||
| 3 | public enum DoorPosition { | |
| 4 | TOP("top"), | |
| 5 | BOTTOM("bottom"), | |
| 6 | LEFT("left"), | |
| 7 | RIGHT("right"); | |
| 8 | ||
| 9 | private final String side; | |
| 10 | ||
| 11 | DoorPosition(String side) { | |
| 12 | this.side = side; | |
| 13 | } | |
| 14 | ||
| 15 | public String getOpenKey() { | |
| 16 |
1
1. getOpenKey : replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getOpenKey → KILLED |
return "door.open." + side; |
| 17 | } | |
| 18 | ||
| 19 | public String getClosedKey() { | |
| 20 |
1
1. getClosedKey : replaced return value with "" for g0803/bindingofshiba/model/game/room/DoorPosition::getClosedKey → KILLED |
return "door.closed." + side; |
| 21 | } | |
| 22 | } | |
Mutations | ||
| 16 |
1.1 |
|
| 20 |
1.1 |