4fda6a2fcb
when setting up AIs. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3164 542714f4-19e9-0310-aa3c-eee0fc999fb1
33 lines
655 B
Java
33 lines
655 B
Java
//
|
|
// $Id: AI.java,v 1.1 2004/10/22 19:27:54 ray Exp $
|
|
|
|
package com.threerings.parlor.game;
|
|
|
|
/**
|
|
* Represents attributes of an AI player.
|
|
*/
|
|
public class AI
|
|
{
|
|
/** The skill level of the AI. */
|
|
public byte skill;
|
|
|
|
/** The "personality" of the AI, which can be interpreted by
|
|
* each puzzle. */
|
|
public byte personality;
|
|
|
|
/**
|
|
* Construct an AI.
|
|
*/
|
|
public AI (byte skill, byte personality)
|
|
{
|
|
this.skill = skill;
|
|
this.personality = personality;
|
|
}
|
|
|
|
// documentation inherited
|
|
public String toString ()
|
|
{
|
|
return "skill(" + skill + "), personality(" + personality + ")";
|
|
}
|
|
}
|