Ejemplo n.º 1
0
    FireState(CanFire cf, Selection selection, PlayerInputState iS, MapEntetiesManager entetiesManager)
    {
        _selection       = selection;
        _fireComponent   = cf;
        _entetiesManager = entetiesManager;

        iS.IsCancelAction    = Cancel;
        iS.IsConfirmedAction = Confirm;
    }
Ejemplo n.º 2
0
    void Constructor(TileEntity.Factory factory, GameState gS, MapEntetiesManager me, PlayerInputState ps, MapManager mp, PathDrower pathDrower)
    {
        _facTest = factory;

        _gameState        = gS;
        _entetieManager   = me;
        _playerInputState = ps;
        _pathDrower       = pathDrower;
        _currentMap       = mp;


        ReAddActions();
    }
    public void Construct(
        [Inject(Id = "SmallText")]
        Text smallText,
        [Inject(Id = "MainText")]
        Text mainText,
        IconsReference iconRef,
        MapEntetiesManager mapEntetieManager,
        // UIInfoGroup.Factory infoGroupFactory,
        MapManager mM, Selection selection, TileInfoGroupUI.Factory tileInfoFactory)
    {
        _iconRef = iconRef;

        _smallText = smallText;
        _mainText  = mainText;

        //_infoGroupFactory = infoGroupFactory;
        _tileInfoGroupFactory = tileInfoFactory;


        _mapManager                    = mM;
        _mapEntetieManager             = mapEntetieManager;
        _selection                     = selection;
        _selection.OnSelectionChanged += UpdateInfo;
    }
Ejemplo n.º 4
0
 public void Awake()
 {
     _mapEntetiesManager = FindObjectOfType <MyNetworkManager2>().Container.Resolve <MapEntetiesManager>();
 }
Ejemplo n.º 5
0
 public void Construct(MapEntetiesManager me)
 {
     Debug.Log("Constructed");
 }
Ejemplo n.º 6
0
 public void Construct(Damageable damageable, MapEntetiesManager entetiesManager)
 {
     _damageable      = damageable;
     _entetiesManager = entetiesManager;
 }
Ejemplo n.º 7
0
 public void Construct(MapEntetiesManager mEM)
 {
     _mapEntetiesManager = mEM;
 }
Ejemplo n.º 8
0
 void Constrcucor(MapManager mM, MapEntetiesManager em, MapHighlighter mh)
 {
     EntetiesManager = em;
     MapHighlighter  = mh;
     _mapManager     = mM;
 }