Uses of Class
gameLogic.Snake

Uses of Snake in gameLogic
 

Methods in gameLogic that return types with arguments of type Snake
 java.util.Set<Snake> GameState.getSnakes()
          Returns a Set containing all snakes in the game, both dead ones and alive ones.
 java.util.ArrayList<Snake> Square.getSnakes()
          Generates a list of all snakes in this square.
 

Methods in gameLogic with parameters of type Snake
 Direction Brain.getNextMove(Snake yourSnake, GameState gameState)
          Returns which direction this brain wishes its snake to move in.
 boolean GameState.willCollide(Snake snake, Direction dir)
          This method can be used to help calculate whether or not a given snake will collide next turn if it continues in a given direction.
 

Constructors in gameLogic with parameters of type Snake
Snake(Snake other)