Beispiel #1
0
 /// <summary>
 /// Builds the structure.
 /// </summary>
 /// <param name="type">Type.</param>
 /// <param name="surfaceModel">Surface model.</param>
 protected void BuildStructure(Models.Structures.StructureType type, Models.Surfaces surfaceModel)
 {
     Debug.Log("Controllers.Mouse -> BuildStructure : building " + type);
     //TODO: currently it only checks if there is a structure,
     // in the future it should check for null values? or create a different system to remove structures
     levelModel.PlaceStructure(type, surfaceModel);
 }