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


Variable Index

 o square
Object of Positioner

Constructor Index

 o SquarePositioner(int, int)
Creates a new SquarePositioner with the given widthPosition and the given heightPosition.
 o SquarePositioner(int, int, Square)
Creates a new SquarePositioner with the given widthPosition, the given heightPosition and the given square.

Method Index

 o getSquare()
Returns the square of the SquarePositioner
 o setSquare(Square)
Modifies the square of the SquarePositioner

Variables

 o square
 Square square
Object of Positioner

Constructors

 o SquarePositioner
 public SquarePositioner(int widthPosition,
                         int heightPosition)
Creates a new SquarePositioner with the given widthPosition and the given heightPosition.

 o SquarePositioner
 public SquarePositioner(int widthPosition,
                         int heightPosition,
                         Square square)
Creates a new SquarePositioner with the given widthPosition, the given heightPosition and the given square.

Methods

 o setSquare
 public void setSquare(Square newSquare)
Modifies the square of the SquarePositioner

Parameters:
newSquare - the new square of the SquarePositioner
 o getSquare
 public Square getSquare()
Returns the square of the SquarePositioner

Returns:
the square

All Packages  Class Hierarchy  This Package  Previous  Next  Index