Uses of Class
vooga.gameEngine.core.Position

Packages that use Position
games.pong   
games.RobotUnicornAttack   
games.RobotUnicornAttack.controller   
games.RobotUnicornAttack.items   
games.SpaceInvaders.events   
testing.gameEngine.cameraTesting   
testing.gameEngine.WormsDemo.items   
vooga.aiEngine.Dev   
vooga.aiEngine.pongAI   
vooga.aiEngine.stickfightergameAI   
vooga.gameEngine.controller   
vooga.gameEngine.core   
vooga.gameEngine.event   
vooga.gameEngine.graphics   
vooga.gameEngine.item   
vooga.physicsEngine.geometry.mathUtils   
 

Uses of Position in games.pong
 

Methods in games.pong with parameters of type Position
 boolean Pong.isGameOver(Position pos)
          Determine if the ball has passed beyond one of the paddles (a player scored a point).
 void Pong.processScore(Position pos)
          Determine which player scored, increment the appropriate score, and end the level if the score reached the GAME_END_SCORE
 

Uses of Position in games.RobotUnicornAttack
 

Methods in games.RobotUnicornAttack with parameters of type Position
 void RobotUnicornAttack.generatePlatform(int platformNumber, Position position)
           
 

Uses of Position in games.RobotUnicornAttack.controller
 

Constructors in games.RobotUnicornAttack.controller with parameters of type Position
UnicornCamera(Position p, Dimension size)
           
 

Uses of Position in games.RobotUnicornAttack.items
 

Constructors in games.RobotUnicornAttack.items with parameters of type Position
Platform(java.net.URL resource, Dimension dimension, Position position)
           
 

Uses of Position in games.SpaceInvaders.events
 

Methods in games.SpaceInvaders.events that return Position
 Position DropBombEvent.getPosition()
           
 

Constructors in games.SpaceInvaders.events with parameters of type Position
DropBombEvent(java.lang.Object source, Position p)
           
 

Uses of Position in testing.gameEngine.cameraTesting
 

Constructors in testing.gameEngine.cameraTesting with parameters of type Position
CameraRectangle(Position p)
           
CameraRectangle(Position p, java.awt.Color c)
           
CameraRectangle(Position p, Dimension d, java.awt.Color c)
           
KeyMovingCameraController(Position p, Dimension viewableArea)
           
 

Uses of Position in testing.gameEngine.WormsDemo.items
 

Constructors in testing.gameEngine.WormsDemo.items with parameters of type Position
Explosion(Position p, Dimension d)
           
Missle(Position p, Dimension d)
           
MissleLauncher(Position p, Dimension d, Position wormPosition)
           
Projectile(Position p, Dimension d)
           
TerrainPiece(java.net.URL u, Position p, Dimension d)
           
Weapon(Position p, Dimension d, Position wormPosition)
           
Worm(Position p, Dimension d)
           
WormsCameraController(Position p, Dimension viewableArea, Dimension totalArea)
           
 

Uses of Position in vooga.aiEngine.Dev
 

Methods in vooga.aiEngine.Dev with parameters of type Position
 void AIDemoItem.move(Position position)
           
 

Constructors in vooga.aiEngine.Dev with parameters of type Position
AIDemoItem(Position p, java.awt.Color c)
           
 

Uses of Position in vooga.aiEngine.pongAI
 

Methods in vooga.aiEngine.pongAI that return Position
 Position PongAIMemory.findbestPositionfrommemory()
          Just reads out the current running best position is from the average position of previous collisions.
 Position PongAIMemory.getCurrentvelocity()
          Draws from memory to calculate the current velocity.
 Position PongAIMemory.getPreviousvelocity()
          Draws from memory to calculate a velocity prior to the current calculated velocity.
 Position PongAIMemory.project(Position aiPos, Position targetPos, Position currentvelocity, int boardwidth)
          Projects the position at which the ball will reach the ai by calculating the total distance the ball will move in the y-direction in proportion to its movement in the x-direction and then counts how many times the ball would bounce off either side of the board to determine the final y-position once it reaches the x-position of the ai's paddle.
 

Methods in vooga.aiEngine.pongAI with parameters of type Position
 void PongAIMemory.addtoMemory(Position a)
          Adds the new position of the tracked object into a list, and makes the list behave like a queue, while allowing for the computer to see elements at many different points along the queue without popping things out and in all the time.
 Position PongAIMemory.project(Position aiPos, Position targetPos, Position currentvelocity, int boardwidth)
          Projects the position at which the ball will reach the ai by calculating the total distance the ball will move in the y-direction in proportion to its movement in the x-direction and then counts how many times the ball would bounce off either side of the board to determine the final y-position once it reaches the x-position of the ai's paddle.
 void PongAIMemory.remembercollision(Position b)
          Adds a new collision position to a running average.
 

Uses of Position in vooga.aiEngine.stickfightergameAI
 

Methods in vooga.aiEngine.stickfightergameAI with parameters of type Position
 void StickFightAIMemory.registertargetPositon(Position in)
          Remembers targets' positions for output to a history file or to a map of lists containing each player's possible positions.
 

Uses of Position in vooga.gameEngine.controller
 

Methods in vooga.gameEngine.controller that return Position
 Position CameraController.getPosition()
           
 

Methods in vooga.gameEngine.controller with parameters of type Position
 void CameraController.move(Position pointToMoveTo)
          Deprecated. 
 void CameraController.setPosition(Position p)
           
 

Constructors in vooga.gameEngine.controller with parameters of type Position
CameraController(Position p, Dimension size)
          Creates a new CameraController with the top left corner at a Position p and with a Dimension, viewableArea, representing the viewable area in terms of the game coordinate system.
CameraController(Position p, Dimension size, Rotation2D rotation)
          Creates a new CameraController with the top left corner at a Position p and with a Dimension, viewableArea, representing the viewable area in terms of the game coordinate system.
 

Uses of Position in vooga.gameEngine.core
 

Methods in vooga.gameEngine.core that return Position
 Position Rotation2D.getPosition()
          Method for getting the position from which the rotation will occur.
 

Methods in vooga.gameEngine.core with parameters of type Position
 void Rotation2D.setPosition(Position p)
          Method for setting the position from which the rotation will occur.
 

Constructors in vooga.gameEngine.core with parameters of type Position
Rotation2D(double theta, Position p)
          Constructor for creating a new Rotation2D object given an angle of rotation and a relative position about which to rotate.
 

Uses of Position in vooga.gameEngine.event
 

Methods in vooga.gameEngine.event that return Position
 Position PositionChangedEvent.getPosition()
          Gives the Position associated with this PositionChangedEvent.
 

Constructors in vooga.gameEngine.event with parameters of type Position
PositionChangedEvent(java.lang.Object source, Position p)
           
 

Uses of Position in vooga.gameEngine.graphics
 

Methods in vooga.gameEngine.graphics that return Position
 Position Texture.getPosition()
          Method for getting the position of this texture in terms of the game's coordinate system.
 

Methods in vooga.gameEngine.graphics with parameters of type Position
 void Texture.setPosition(Position p)
          Sets the position of the game object relative to the game's coordinate system.
 

Constructors in vooga.gameEngine.graphics with parameters of type Position
ImageTexture(java.net.URL url, Dimension d, Position p)
          Creates a new ImageTexture from a url, dimension, and position.
TextTexture(java.lang.String text, java.awt.Font f, java.awt.Color c, Dimension d, Position p)
          Creates a new TextTexture with given parameters.
 

Uses of Position in vooga.gameEngine.item
 

Methods in vooga.gameEngine.item that return Position
 Position Tangible.getPosition()
          Getter method for the current position of this item in the coordinate system used by the game.
 Position GameItem.getPosition()
           
 

Methods in vooga.gameEngine.item with parameters of type Position
 void Tangible.setPosition(Position p)
          Moves this object to a specified Position.
 void GameItem.setPosition(Position p)
           
 

Uses of Position in vooga.physicsEngine.geometry.mathUtils
 

Methods in vooga.physicsEngine.geometry.mathUtils that return Position
static Position Vector2f.toPosition(Vector2f vector)
          Translates given Vector2f into a game engine Position object.
 

Methods in vooga.physicsEngine.geometry.mathUtils with parameters of type Position
static Vector2f Vector2f.fromPosition(Position position)