org.vizzini.game
Class AbstractHumanAgent

java.lang.Object
  extended by org.vizzini.game.AbstractAgent
      extended by org.vizzini.game.AbstractHumanAgent
All Implemented Interfaces:
Serializable, IAgent, IHumanAgent
Direct Known Subclasses:
MouseHumanAgent, MouseHumanAgent, MovementMouseAgent, PlacementMouseAgent, TextAgent, TextHumanAgent

public abstract class AbstractHumanAgent
extends AbstractAgent
implements IHumanAgent

Provides base functionality for human agents in the game framework. A human agent instance encapsulates the logic to obtain information from a human to create actions. Examples of this are interpreting a mouse event or key strokes.

Since:
v0.1
Version:
v0.1
Author:
Jeffrey M. Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.vizzini.game.IAgent
NAME_PROPERTY, TEAM_PROPERTY
 
Constructor Summary
AbstractHumanAgent()
           
 
Method Summary
protected  void beep()
          Issue a beep.
 
Methods inherited from class org.vizzini.game.AbstractAgent
addConcedeListener, addPropertyChangeListener, addScoreListener, addToScore, concede, configure, equals, getConcedeManager, getIndex, getName, getProperties, getPropertyChangeManager, getScore, getScoreManager, getTeam, getTokenCollection, getTokenCollectionClass, hashCode, incrementScore, removeConcedeListener, removePropertyChangeListener, removeScoreListener, reset, setName, setScore, setTeam, setTokenCollectionClass, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vizzini.game.IAgent
addConcedeListener, addPropertyChangeListener, addScoreListener, addToScore, concede, configure, getAction, getName, getScore, getTeam, getTokenCollection, incrementScore, removeConcedeListener, removePropertyChangeListener, removeScoreListener, reset, setName, setScore, setTeam
 

Constructor Detail

AbstractHumanAgent

public AbstractHumanAgent()
Method Detail

beep

protected void beep()
Issue a beep.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02