eliminate ShipDescription.Constant class, use BitVector instead
[fleet.git] / src / edu / berkeley / fleet / interpreter / Interpreter.java
index 063e15b..e58eb3d 100644 (file)
@@ -80,7 +80,7 @@ public class Interpreter extends FleetTwoFleet {
             String src = "/ships/" + shipType + ".ship";
             InputStream is = getClass().getResourceAsStream(src);
             BufferedReader br = new BufferedReader(new InputStreamReader(is));
-            ShipDescription sd = new ShipDescription(shipType, br);
+            ShipDescription sd = new ShipDescription(this, shipType, br);
             InterpreterShip ret = (InterpreterShip)con.newInstance(new Object[] { this, shipname, sd });
             ships.put(shipname, ret);
             if (shipType.equals("Debug") && debugShip == null)