Exemplo n.º 1
0
        public Lockstep(NetworkManager.PType protocolType, string ip, int port)
        {
            this._remoteBattle = new RemoteBattle(protocolType, port);
            Thread.Sleep(100);
            this._localBattle = new LocalBattle(protocolType, ip, port);

            this.StartLoopCycle(1);
        }
Exemplo n.º 2
0
 public StepLocker(RemoteBattle owner)
 {
     this.id    = GuidHash.GetString();
     this.owner = owner;
 }