Beispiel #1
0
 private void SwapLetters(Tile other)
 {
     char otherLetter = other.letter;
     Glyph otherGlyph = other.glyph;
     other.SetGlyph(glyph);
     SetGlyph(otherGlyph);
     other.Letter = letter;
     Letter = otherLetter;
     other.name = "Piece! >>" + Char.ToUpper(other.letter);
     name = "Piece: >>" + Char.ToUpper(letter);
 }