public Receiver()
        {
            ID           = Guid.NewGuid();
            MessageQueue = new List <MessageBase>();
            Status       = StatusEnum.Connected;

            InGameProperties = new InGameProperties();

            CountDownInGame             = new CountDown();
            CountDownInGame.CoutDownEv += CountDownInGame_CoutDownEv;

            MoveAction = new PlayerMoveAction();
            MoveAction.ChangeLocationPlayer += MoveAction_ChangeLocationPlayer;
        }
Beispiel #2
0
 public InitGame(InGameProperties inGameProperties, bool isFirst, String userName)
 {
     Properties = inGameProperties;
     IsFirst    = isFirst;
     UserName   = userName;
 }
Beispiel #3
0
 public InitGame()
 {
     Properties = new InGameProperties();
     IsFirst    = false;
     UserName   = "";
 }