public void SetHex(Hex newHex) { Hex oldHex = Hex; if (Hex != null) { Hex.RemovePlayer(this, team); } Hex = newHex; Hex.AddPlayer(this, team); if (OnPlayerMoved != null) { OnPlayerMoved(oldHex, newHex); } }