All Packages Class Hierarchy This Package Previous Next Index
Class scrobble.SquarePositioner
java.lang.Object
|
+----scrobble.Positioner
|
+----scrobble.SquarePositioner
- public class SquarePositioner
- extends Positioner
Squarepositioner.java
herite de Positioner et positionne une case
-
square
- Object of Positioner
-
SquarePositioner(int, int)
- Creates a new SquarePositioner with the given widthPosition
and the given heightPosition.
-
SquarePositioner(int, int, Square)
- Creates a new SquarePositioner with the given widthPosition,
the given heightPosition and the given square.
-
getSquare()
- Returns the square of the SquarePositioner
-
setSquare(Square)
- Modifies the square of the SquarePositioner
square
Square square
- Object of Positioner
SquarePositioner
public SquarePositioner(int widthPosition,
int heightPosition)
- Creates a new SquarePositioner with the given widthPosition
and the given heightPosition.
SquarePositioner
public SquarePositioner(int widthPosition,
int heightPosition,
Square square)
- Creates a new SquarePositioner with the given widthPosition,
the given heightPosition and the given square.
setSquare
public void setSquare(Square newSquare)
- Modifies the square of the SquarePositioner
- Parameters:
- newSquare - the new square of the SquarePositioner
getSquare
public Square getSquare()
- Returns the square of the SquarePositioner
- Returns:
- the square
All Packages Class Hierarchy This Package Previous Next Index