gumbo.interact
Class AbstractInteractor

java.lang.Object
  |
  +--gumbo.interact.AbstractInteractor
All Implemented Interfaces:
Interactor
Direct Known Subclasses:
Interactors.NoPickTarget

public class AbstractInteractor
extends java.lang.Object
implements Interactor

A full implementation of the Interactor interface.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Constructor Summary
AbstractInteractor()
          Creates an instance with a default state delegate.
AbstractInteractor(InteractorState state)
          Creates an instance with the specified state delegate.
 
Method Summary
 InteractorState getInteractorState()
          Gets the interactor state value for this interactor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInteractor

public AbstractInteractor()
Creates an instance with a default state delegate.


AbstractInteractor

public AbstractInteractor(InteractorState state)
Creates an instance with the specified state delegate.

Parameters:
state - State delegate. If null, a default one is used.
Method Detail

getInteractorState

public InteractorState getInteractorState()
Description copied from interface: Interactor
Gets the interactor state value for this interactor.

Specified by:
getInteractorState in interface Interactor
Returns:
Reference to the interactor state. Never null.