jAsea
Class jAseaNPCState

java.lang.Object
  |
  +--jAsea.jAseaNPCState
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

class jAseaNPCState
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Contains the current state of a single NPC


Field Summary
(package private)  int location
          Current place of NPC
(package private)  int parent
          Current place of NPC
(package private)  int position
          Current place of NPC
(package private)  boolean seen
          Has player seen this NPC?
(package private)  int time
          Status of NPC's current walk
(package private)  int walk
          Status of NPC's current walk
(package private)  int walkstep
          Status of NPC's current walk
 
Constructor Summary
(package private) jAseaNPCState(jAseaObject jao)
          Read the initial state from a single jAseaObject
 
Method Summary
(package private) static jAseaNPCState[] read(java.lang.Object[] jao)
          Create an array of states, and initialize all of them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

int location
Current place of NPC


position

int position
Current place of NPC


parent

int parent
Current place of NPC


seen

boolean seen
Has player seen this NPC?


walk

int walk
Status of NPC's current walk


walkstep

int walkstep
Status of NPC's current walk


time

int time
Status of NPC's current walk

Constructor Detail

jAseaNPCState

jAseaNPCState(jAseaObject jao)
Read the initial state from a single jAseaObject

Method Detail

read

static jAseaNPCState[] read(java.lang.Object[] jao)
Create an array of states, and initialize all of them.