Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
gecco.client.Position

Packages that use Position
gecco.client |
gecco.client.animation |

Uses of Position in gecco.client

Methods in gecco.client that return Position
`Position` | `Piece.getPosition()` Gets the Position attribute of the Piece object
`Position` | `Map.getCenter()` Return the center of the map, in map coordinates.
`Position` | `Game.getPreferredCenter()` Returns the preferred center of the map.
`Position` | `Board.getPositionAt(Point p)` Converts a screen point to the Position corresponding to that point.

Methods in gecco.client with parameters of type Position
`boolean` | `Position.equals(Position p)` Description of the Method
`void` | `Piece.setPosition(Position p)` Sets the Position attribute of the Piece object
`void` | `Game.addPiece(int handle, String name, Position pos, Set actions, Map properties, String type)` Adds the specified piece, as described in Client.java.
`void` | `Game.updatePiece(int handle, Position newPosition)` Description of the Method
`void` | `Client.addPiece(int handle, String name, Position pos, Set actions, Map properties, String type)` Creates a new Piece and adds it to the game.
`void` | `Client.updatePiece(int handle, Position newPosition)` Sets a new position for the piece with the given handle.
`Point` | `Board.getScreenPoint(Position p)` Converts the given Position of the map to the actual screen Point in the board's coordinate system.

Constructors in gecco.client with parameters of type Position
`Position(Position p)` Initilizes a position with the same coordinates as the given position object.
`Piece(int handle, Position position, String name, String type)` Constructor for the Piece object
`Ghost(int handle, Position position, String name, String type)` Constructor for the Ghost object

Uses of Position in gecco.client.animation

Constructors in gecco.client.animation with parameters of type Position
`Explosion(int handle, Position position, String name, String type, Animator animator)`
`AnimatedPiece(int handle, Position position, String name, String type, Image[] frames, int delayBetweenFrames, boolean repeat, Animator animator)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES