|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Position | |
gecco.client | |
gecco.client.animation |
Uses of Position in gecco.client |
Fields in gecco.client declared as Position | |
(package private) Position[] |
TestServer.positions
Description of the Field |
(package private) Position |
Piece.position
Description of the Field |
Methods in gecco.client that return Position | |
Position |
Board.getPositionAt(Point p)
Converts a screen point to the Position corresponding to that point. |
Position |
Game.getPreferredCenter()
Returns the preferred center of the board. |
Position |
Piece.getPosition()
Gets the Position attribute of the Piece object |
Methods in gecco.client with parameters of type Position | |
void |
Client.addPiece(int handle,
String name,
Position pos,
Enumeration actions,
Enumeration 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 map-and-pieces component's coordinate system. |
void |
Game.addPiece(int handle,
String name,
Position pos,
Enumeration actions,
Enumeration properties,
String type)
Adds the specified piece, as described in Client.java. |
void |
Game.updatePiece(int handle,
Position newPosition)
Description of the Method |
(package private) Piece |
Game.addGhostPiece(Position pos,
String type)
Adds a ghost piece with the specified properties. |
void |
Piece.setPosition(Position p)
Sets the Position attribute of the Piece object |
boolean |
Position.equals(Position p)
Description of the Method |
Constructors in gecco.client with parameters of type Position | |
Piece(int handle,
Position position,
String name,
String type)
Constructor for the Piece object |
|
Position(Position p)
Initilizes a position with the same coordinates as the given position 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 | |
AnimatedPiece(int handle,
Position position,
String name,
String type,
Image[] frames,
int delayBetweenFrames,
boolean repeat,
Animator animator)
|
|
Explosion(int handle,
Position position,
String name,
String type,
Animator animator)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |