private void KickBomb(Bomb bomb) { Debug.Assert(IsMoving()); Debug.Assert(HasKick()); // kick in the moving direction bomb.Kick(direction); // make sure player is out of the bomb`s cell MoveOutOfCell(bomb); }
private void KickBomb(Bomb bomb) { Debug.Assert(IsMoving()); Debug.Assert(HasKick()); // kick in the moving direction bomb.Kick(direction); // make sure player is out of the bomb`s cell MoveOutOfCell(bomb); }