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;
        }
예제 #2
0
 public InitGame(InGameProperties inGameProperties, bool isFirst, String userName)
 {
     Properties = inGameProperties;
     IsFirst    = isFirst;
     UserName   = userName;
 }
예제 #3
0
 public InitGame()
 {
     Properties = new InGameProperties();
     IsFirst    = false;
     UserName   = "";
 }