public void OnCharacter(Firerer character)
 {
     if (character)
     {
         playerInput.Firerer = character;
         character.OnDie    += OnDie;
     }
 }
        private void OnCharacter(Firerer character)
        {
            if (!character)
            {
                return;
            }

            character.OnShoot += OnShoot;
            character.OnBuild += OnShoot;
        }
        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>();
        }
 public CharacterMoveHandler(IncomingCommandsQueue incomings, Firerer firererPrefab, DiContainer container) : base(incomings)
 {
     this.firererPrefab = firererPrefab;
     this.container     = container;
 }