simulations.gui.curves
Class PointElement

java.lang.Object
  extended by simulations.gui.curves.PointElement

public class PointElement
extends java.lang.Object

This class describes the last point draw in the graph draw for a player


Constructor Summary
PointElement(Player player, java.awt.Point point)
          Creates a new instance of PointElement
 
Method Summary
 Player getPlayer()
          Getter for property player.
 java.awt.Point getPoint()
          Getter for property point.
 void setPlayer(Player player)
          Setter for property player.
 void setPoint(java.awt.Point point)
          Setter for property point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointElement

public PointElement(Player player,
                    java.awt.Point point)
Creates a new instance of PointElement

Parameters:
point - The point (x,y coordonates)
player - The player
Method Detail

getPlayer

public Player getPlayer()
Getter for property player.

Returns:
Value of property player.

setPlayer

public void setPlayer(Player player)
Setter for property player.

Parameters:
player - New value of property player.

getPoint

public java.awt.Point getPoint()
Getter for property point.

Returns:
Value of property point.

setPoint

public void setPoint(java.awt.Point point)
Setter for property point.

Parameters:
point - New value of property point.