public void LoadTerrainTypes() { TerrainType terra = new TerrainType(new TerrainStaticData("Plain", 1, Altitude.land, Capturable.False)); TerrainType water = new TerrainType(new TerrainStaticData("Water", 1, Altitude.sea, Capturable.False)); //After I've been populated, alert the terrainEditor that the UI needs to be updated. PopulateTerrainUIGrid(TypeContainer <TerrainType> .getAll()); }
public void LoadPropertyTypes() { new PropertyType("property_redteam_city", new TerrainStaticData("RedTeam City", 3, Altitude.land, Capturable.True)); new PropertyType("property_redteam_factory", new TerrainStaticData("RedTeam Factory", 3, Altitude.land, Capturable.True)); //placeholder //After I've been populated, alert the terrainEditor that the UI needs to be updated. PopulatePropertyUIGrid(TypeContainer <PropertyType> .getAll()); }
public void LoadSquadTypes() { new SquadType(new SquadStaticData("placeholder squad", 4, SquadMovementType.Tread, Altitude.land, 5, 30, 4, 0, 1, 10, new List <Ability>() { new AttackAbility(), new MoveAbility() })); PopulateSquadUIGrid(TypeContainer <SquadType> .getAll()); }