Analytical Perspectives in Game Design


 

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bvyy.smf.State

java.lang.Object
   |
   +----bvyy.smf.State

public class State
extends Object
Each state is an object.

Intent

To allow a generic call to a state, where the action of the state is\ determined by the state itself.

Motivation

As a component of the generic state machine.

Version:
1.0.4 24 May 1998
Author:
(c) 1998 Brian Voon Yee Yap

Constructor Index

 o State(String)

Method Index

 o addTransition(State, String)
 o getName()
 o getTransitions()
 o isTransitionOK(String)
 o transition(String)

Constructors

 o State
 public State(String specification)

Methods

 o addTransition
 public void addTransition(State newTransition,
                           String actionVerb)
 o getTransitions
 public String getTransitions()
 o transition
 public State transition(String lookingFor)
 o getName
 public String getName()
 o isTransitionOK
 public boolean isTransitionOK(String transitTo)

All Packages  Class Hierarchy  This Package  Previous  Next  Index

22/11/99

 


See also: [Role Playing Games] [Game Engine]
© 1998, 1999 Brian Yap. These pages are available under the GNU licence.