Beispiel #1
0
        public void SetCell(ICheckShipSlot slotChecker, IShipAssign assigner, bool isAttached)
        {
            this.slotChecker    = slotChecker;
            this.assignerAction = assigner;

            DecideActionButton(isAttached);
        }
Beispiel #2
0
        public void IntialisePopulator(IEquipmentMenu equipmentMenu, GameObject contentView, ICheckShipSlot slotChecker, IShipAssign assigner, IInfoPanel infoPanel)
        {
            this.equipmentMenu = equipmentMenu;
            this.contentView   = contentView;
            this.slotChecker   = slotChecker;
            this.assigner      = assigner;
            this.infoPanel     = infoPanel;

            weaponServicer = SessionData.instance.weaponServicer.GetComponent <IWeaponServicer>();
        }