Exemplo n.º 1
0
 public ServerLogic(
     StartGameView startGame,
     ConnectionsRepository connections,
     OutgoingCommandsQueue outgoings,
     ConnectionStatus status)
 {
     this.startGame   = startGame;
     this.connections = connections;
     this.outgoings   = outgoings;
     this.status      = status;
 }
        public CommanderStatus(DiContainer container, Firerer firererPrefab, Crate crate, Bullet bullet, OutgoingCommandsQueue outgoings, OwnTable table)
        {
            this.table         = table;
            this.outgoings     = outgoings;
            this.firererPrefab = firererPrefab;
            this.cratePrefab   = crate;
            this.bulletPrefab  = bullet;
            this.container     = container;

            characterInstance = new BehaviorSubject <Firerer>(null);

            entities = new Dictionary <Guid, NetworkEntity>();
        }