elge.world
Interface MoveableAgent

All Known Implementing Classes:
WorldAgent

public interface MoveableAgent

Author:
Palino

Field Summary
static String PROP_POSITION
           
 
Method Summary
 void addVetoableChangeListener(VetoableChangeListener l)
           
 Point getPosition()
          returns the position of the agent
 void removeVetoableChangeListener(VetoableChangeListener l)
           
 void setPosition(Point pt)
          sets the position of the agent
 

Field Detail

PROP_POSITION

public static final String PROP_POSITION
See Also:
Constant Field Values
Method Detail

getPosition

public Point getPosition()
returns the position of the agent


setPosition

public void setPosition(Point pt)
                 throws PropertyVetoException
sets the position of the agent

PropertyVetoException

addVetoableChangeListener

public void addVetoableChangeListener(VetoableChangeListener l)

removeVetoableChangeListener

public void removeVetoableChangeListener(VetoableChangeListener l)