game.ai
Class Attitude

java.lang.Object
  |
  +--game.ai.Attitude
Direct Known Subclasses:
Attitude.Ally, Attitude.Enemy, Attitude.Neutral

public class Attitude
extends java.lang.Object

A class to hold the various levels of attitude, intended to be used in civilizations to record how they will behave toward each other. This system allows other levels or types of attitude to be added easily.


Nested Class Summary
static class Attitude.Ally
          Ally inner class.
static class Attitude.Enemy
          Enemy inner class.
static class Attitude.Neutral
          Neutral inner class.
 
Field Summary
static Attitude ally
          Ally attitude.
static Attitude enemy
          Enemy attitude.
static Attitude neutral
          Neutral attitude.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

neutral

public static final Attitude neutral
Neutral attitude.


enemy

public static final Attitude enemy
Enemy attitude.


ally

public static final Attitude ally
Ally attitude.