Beispiel #1
0
 private void HandleLandChunkSelected(Land_Chunk landChunk)
 {
     if (landChunk == selectedLand) return;
     if (selectedLand) selectedLand.SetSelectedState(false);
     selectedLand = landChunk;
     if (selectedLand) selectedLand.SetSelectedState(true);
 }
Beispiel #2
0
 public void AddChunk(Land_Chunk chunk)
 {
     chunk.SetSelectedState(true);
     selectedChunks.Add(chunk);
 }
Beispiel #3
0
 public void RemoveChunk(Land_Chunk chunk)
 {
     chunk.SetSelectedState(false);
     selectedChunks.Remove(chunk);
     TriggerOnLandChunkDeselected();
 }