Sokoban (part 15)

  • 40
  • Locked
The time has come to implement the model's move() method, which is responsible for movement. But first, let's implement some helper methods. Add the following methods to the Model class: 15.1. boolean checkWallCollision(CollisionObject gameObject, Direction direction). This method checks for collis
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Level 41 , Crefeld, Germany
26 February 2020, 15:43
There's a small spelling mistake in the method checkBoxCollisionAndMoveIfAvaliable - the last part Avaliable should really be Available. The i and l are twisted. Depending on the validation, this might actually lead to some unnecessary problems. Thanks. :-)