Пример #1
0
    public void BuildOutpost()
    {
        StructurePlacer structurePlacer = StructurePlacer.Instance;

        structurePlacer.structureModel = outpostModel;
        structurePlacer.enabled        = true;
    }
Пример #2
0
    public void BuildFort()
    {
        StructurePlacer structurePlacer = StructurePlacer.Instance;

        structurePlacer.structureModel = fortModel;
        structurePlacer.enabled        = true;
    }
Пример #3
0
 /// <summary>
 /// Adds a platform to place to this map. This should solely be used building, which is also the only
 /// method to add platforms to our game dynamically.
 /// </summary>
 /// <param name="structurePlacer">The platformplacement to place</param>
 public void AddPlatformToPlace(StructurePlacer structurePlacer)
 {
     mStructuresToPlace.AddLast(structurePlacer);
 }