net.sf.freecol.server.ai
Class ColonyPlan.Buildable

java.lang.Object
  extended by net.sf.freecol.server.ai.ColonyPlan.Buildable
All Implemented Interfaces:
java.lang.Comparable<ColonyPlan.Buildable>
Enclosing class:
ColonyPlan

public class ColonyPlan.Buildable
extends java.lang.Object
implements java.lang.Comparable<ColonyPlan.Buildable>


Field Summary
(package private)  int priority
           
(package private)  BuildableType type
           
 
Constructor Summary
ColonyPlan.Buildable(BuildableType type, int priority)
           
 
Method Summary
 int compareTo(ColonyPlan.Buildable other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

BuildableType type

priority

int priority
Constructor Detail

ColonyPlan.Buildable

public ColonyPlan.Buildable(BuildableType type,
                            int priority)
Method Detail

compareTo

public int compareTo(ColonyPlan.Buildable other)
Specified by:
compareTo in interface java.lang.Comparable<ColonyPlan.Buildable>