Пример #1
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeAuthorizationMessage(out _length, _username, _password);
 }
Пример #2
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeStartGameMessage(out _length, _username, _map);
 }
Пример #3
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeGameActionMessage(out _length, _action, _time_step, _player_id, _x_coord, _y_coord);
 }
Пример #4
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeLeaveRoomMessage(out _length, _username, _room_name);
 }
Пример #5
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeGetAvailableRoomsMessage(out _length, _username);
 }
Пример #6
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeEndGameMessage(out _length, _player_id, _winner_id);
 }
Пример #7
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeDisconnectMessage(out _length, _username);
 }
Пример #8
0
 public override void MakeMessage()
 {
     MessageFactory factory = new MessageFactory();
       _message = factory.makeCreateRoomMessage(out _length, _username, _room_name, Convert.ToInt16(_capacity));
 }