com.threerings.parlor.game.data
Class GameAI

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.parlor.game.data.GameAI
All Implemented Interfaces:
Streamable

public class GameAI
extends SimpleStreamableObject

Represents attributes of an AI player.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 int personality
          The "personality" of the AI, which can be interpreted by each puzzle.
 int skill
          The skill level of the AI.
 
Constructor Summary
GameAI()
          A blank constructor for serialization.
GameAI(int personality, int skill)
          Constructs an AI with the specified (game-interpreted) skill and personality.
 
Method Summary
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

personality

public int personality
The "personality" of the AI, which can be interpreted by each puzzle.


skill

public int skill
The skill level of the AI.

Constructor Detail

GameAI

public GameAI()
A blank constructor for serialization.


GameAI

public GameAI(int personality,
              int skill)
Constructs an AI with the specified (game-interpreted) skill and personality.