()
| 281 | } |
| 282 | |
| 283 | public castPlayerJump(): void{ |
| 284 | // If we don't have the feather |
| 285 | if(Saving.loadBool("gridItemPossessedFeather") == false) |
| 286 | this.getGame().getPlayer().jump(3); |
| 287 | // Else, we have the feather |
| 288 | else |
| 289 | this.getGame().getPlayer().jump(6); |
| 290 | } |
| 291 | |
| 292 | public castPlayerObsidianWall(): void{ |
| 293 | // X position of the wall |