void StateOfRoom() { for (int i = 0; i < gamers.Length; i++) { FieldStateMessage message = new FieldStateMessage ( gamers[i].client.gameField, gamers[(i + 1) % gamers.Length].client.gameField.GetForEnemy(), gamers[i].turn ); gamers[i].client.Send(message); } }
public static void NewGameMessage(FieldStateMessage message) { gameForm.ReDraw(message.you, message.enemy, message.turn); }