Exemple #1
0
        public void Start()
        {
            Helper = GetComponent<GamblerHelper>();
            Helper.action += Join;
            Helper.SelectCreature += SelectCreature;
            Helper.SelectHero += SelectHero;

            _handler = new Handler(Helper);
            Network.Instance.Handler = _handler;
            _unitsSelected = new UnitsSelected();

        }
Exemple #2
0
 public Handler(GamblerHelper helper)
 {
     _type   = GetType();
     _helper = helper;
 }