Exemple #1
0
 /// <summary>
 /// Updates the surrounding hex locations of mainHex assuming that the location of mainHex is up to date
 /// </summary>
 private void UpdateSurroundingHexLocations()
 {
     hexAbove.location  = mainHex.AboveLocation();
     hexBelow.location  = mainHex.BelowLocation();
     hexBefore.location = mainHex.PrevHexLocation();
     hexAfter.location  = mainHex.NextHexLocation();
 }