updated to AM14, AM15
[fleet.git] / src / edu / berkeley / fleet / api / BenkoBox.java
index 23ec414..1e93825 100644 (file)
@@ -3,11 +3,15 @@ package edu.berkeley.fleet.api;
 public abstract class BenkoBox {
 
     /** you should extend subclasses, not this class directly */
-    BenkoBox() { }
+    //FIXME
+    public BenkoBox() { }
 
     /** the descriptive name of this benkobox (relative to its ship) */
     public abstract String getName();
-    
+
+    /** return the Ship to which this BenkoBox belongs */
+    public abstract Ship   getShip();
+
     /** the maximum number of instructions we can put in the BenkoBox instruction fifo,
      *  or Integer.MAX_VALUE if unbounded */
     public abstract int getInstructionFifoLength();