Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

marauroa.game
Class RPAction  view RPAction download RPAction.java

java.lang.Object
  extended bymarauroa.game.Attributes
      extended bymarauroa.game.RPAction
All Implemented Interfaces:
marauroa.net.Serializable

public class RPAction
extends Attributes

This class represent an action. Please refer to Actions Explained document


Nested Class Summary
static class RPAction.Status
          This class represent the status of the action
 
Nested classes inherited from class marauroa.game.Attributes
Attributes.AttributeNotFoundException
 
Field Summary
protected  int actionType
           
static RPAction.Status STATUS_FAIL
           
static RPAction.Status STATUS_INCOMPLETE
           
static RPAction.Status STATUS_SUCCESS
           
 
Fields inherited from class marauroa.game.Attributes
 
Constructor Summary
RPAction()
          Constructor
 
Method Summary
 void readObject(marauroa.net.InputSerializer in)
          Method to build the object from a stream of bytes
 void writeObject(marauroa.net.OutputSerializer out)
          Method to convert the object into a stream
 
Methods inherited from class marauroa.game.Attributes
equals, get, has, put, put, remove, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS_SUCCESS

public static final RPAction.Status STATUS_SUCCESS

STATUS_FAIL

public static final RPAction.Status STATUS_FAIL

STATUS_INCOMPLETE

public static final RPAction.Status STATUS_INCOMPLETE

actionType

protected int actionType
Constructor Detail

RPAction

public RPAction()
Constructor

Method Detail

writeObject

public void writeObject(marauroa.net.OutputSerializer out)
                 throws java.io.IOException
Description copied from interface: marauroa.net.Serializable
Method to convert the object into a stream

Specified by:
writeObject in interface marauroa.net.Serializable
Overrides:
writeObject in class Attributes

readObject

public void readObject(marauroa.net.InputSerializer in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Description copied from interface: marauroa.net.Serializable
Method to build the object from a stream of bytes

Specified by:
readObject in interface marauroa.net.Serializable
Overrides:
readObject in class Attributes