Beispiel #1
0
        protected Building(BuildingBlueprint blueprint, PositionedFootprint footprint)
        {
            if (!footprint.IsValid)
            {
                throw new ArgumentOutOfRangeException();
            }

            this.blueprint = blueprint;
            this.footprint = footprint;
            Health         = 1;
            BuildManager   = new BuildProcessManager(this, blueprint);
        }
Beispiel #2
0
 public PlayerBuilding(BuildingBlueprint blueprint, PositionedFootprint footprint)
     : base(blueprint, footprint)
 {
 }
Beispiel #3
0
 public BuildProcessManager(Building building, BuildingBlueprint blueprint)
 {
     this.building  = building;
     this.blueprint = blueprint;
 }
Beispiel #4
0
 public BuildingGhost(BuildingBlueprint blueprint)
 {
     this.blueprint = blueprint;
 }