Beispiel #1
0
 protected BaseBuilding(Building_Types type)
 {
     buildingId   = nextValidId;
     buildingType = type;
     position     = new Vector2D();
     scale        = new Vector2D(1, 1);
 }
Beispiel #2
0
 protected BaseBuilding()
 {
     buildingId   = nextValidId;
     buildingType = default_building_type;
     position     = new Vector2D();
     scale        = new Vector2D(1, 1);
 }
Beispiel #3
0
        protected BaseBuilding(Building_Types type, Vector2D pos, Vector2D scale)
        {
            buildingId   = nextValidId;
            buildingType = type;
            position     = pos;
            this.scale   = scale;

            SetTiles();
        }