UnitType(DataInputStream is) throws IOException {
  this.name=Utilities.getString(is);
  this.start=is.readInt();
  this.count=is.readInt();
}

UnitType ( DataInputStream is ) throws IOException { this . name = Utilities . getString ( is ) ; this . start = is . readInt ( ) ; this . count = is . readInt ( ) ; }
creates a unit type by reading it from the given input stream .
