public UnitFactory() { JsonDataReader <UnitData> dataReader = new JsonDataReader <UnitData>(); _infantryFactory = new InfantryFactory(dataReader); _magFactory = new MagFactory(dataReader); }
public MagFactory(JsonDataReader <UnitData> dataReader) { _reader = dataReader; }
public InfantryFactory(JsonDataReader <UnitData> dataReader) { _reader = dataReader; }