public BuildCommand Build(BuildingType buildingType, IBuildLocation location) { return(new BuildCommand(this, buildingType, location, translator.GetBuildAction(buildingType))); }
/// <summary> /// Commands a unit to construct the specified building at the given location. /// </summary> public BuildCommand(Unit unit, BuildingType building, IBuildLocation buildLocation) : this(unit, buildLocation) { this.Building = building; }
private BuildCommand(Unit unit, IBuildLocation buildLocation) : base(unit) { this.BuildLocation = buildLocation; }
public BuildCommand Build(ProtossBuildingType building, IBuildLocation location) { return(base.Build(building, location)); }
public BuildCommand Build(BuildingType buildingType, IBuildLocation location) { return(new BuildCommand(this, buildingType, location)); }
public BuildCommand Build(TerranBuildingType building, IBuildLocation location) { return(base.Build(building, location)); }
private BuildCommand(Unit unit, IBuildLocation buildLocation, uint abilityId) : base(abilityId, unit) { this.BuildLocation = buildLocation; }
/// <summary> /// Commands a unit to construct the specified building at the given location. /// </summary> public BuildCommand(Unit unit, BuildingType building, IBuildLocation buildLocation, uint abilityId) : this(unit, buildLocation, abilityId) { this.Building = building; }