Esempio n. 1
0
 public BuildCommand Build(BuildingType buildingType, IBuildLocation location)
 {
     return(new BuildCommand(this, buildingType, location, translator.GetBuildAction(buildingType)));
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 private BuildCommand(Unit unit, IBuildLocation buildLocation) : base(unit)
 {
     this.BuildLocation = buildLocation;
 }
Esempio n. 4
0
 public BuildCommand Build(ProtossBuildingType building, IBuildLocation location)
 {
     return(base.Build(building, location));
 }
Esempio n. 5
0
 public BuildCommand Build(BuildingType buildingType, IBuildLocation location)
 {
     return(new BuildCommand(this, buildingType, location));
 }
Esempio n. 6
0
 public BuildCommand Build(TerranBuildingType building, IBuildLocation location)
 {
     return(base.Build(building, location));
 }
Esempio n. 7
0
 private BuildCommand(Unit unit, IBuildLocation buildLocation, uint abilityId) : base(abilityId, unit)
 {
     this.BuildLocation = buildLocation;
 }
Esempio n. 8
0
 /// <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;
 }