Ejemplo n.º 1
0
        public PlayerActionBundle CopyActionCollection()
        {
            lock (queueLock) {
                PlayerActionBundle bundleCopy = new PlayerActionBundle()
                {
                    Movement = bundle.Movement.DeepClone()
                };

                bundle = new PlayerActionBundle();

                return(bundleCopy);
            }
        }
Ejemplo n.º 2
0
 public PlayerActionCollection(ILogService logService, IGameStateService gameStateService)
 {
     bundle                = new PlayerActionBundle();
     this.logService       = logService;
     this.gameStateService = gameStateService;
 }