com.tagtraum.sixbs
Class State

java.lang.Object
  |
  +--com.tagtraum.sixbs.State

public class State
extends Object

Represents a state and its context. This could be extended to contain the full logic.

Version:
$Id: State.java,v 1.1 2001/05/06 14:55:02 Hendrik Exp $
Author:
Hendrik Schreiber

Field Summary
static String vcid
          Source-Version
 
Constructor Summary
State(int state)
           
State(int state, Object context)
           
 
Method Summary
 Object getContext()
           
 int getState()
           
 void set(int state, Object context)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vcid

public static String vcid
Source-Version
Constructor Detail

State

public State(int state,
             Object context)

State

public State(int state)
Method Detail

getState

public int getState()

getContext

public Object getContext()

set

public void set(int state,
                Object context)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001 tagtraum industries.