Exemplo n.º 1
0
 /// <summary>
 /// Verifies if the alien can move in the specified direction.
 /// (Direction.LEFT or Direction.RIGHT)
 /// </summary>
 /// <param name="dir">The direction to check.</param>
 /// <returns>True if the alien can move, false otherwise.</returns>
 public bool TryMove(Direction dir)
 {
     return(alien.TryMove(dir));
 }