com.threerings.parlor.game.data
Class GameAI
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.parlor.game.data.GameAI
- All Implemented Interfaces:
- Streamable
public class GameAI
- extends SimpleStreamableObject
Represents attributes of an AI player.
|
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. |
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.
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.