Example #1
0
        public void SetCell(IShipSelection shipSelector, IHangarActions hangarActions, string stringID, Sprite image)
        {
            this.shipSelector   = shipSelector;
            this.hangarActions  = hangarActions;
            this.stringID       = stringID;
            this.imageThumbnail = image;

            PopulateCell();
        }
Example #2
0
 /// <summary>
 /// Initialises the ship's menu
 /// </summary>
 public void InitialiseMenu(IHangarActions hangarActions)
 {
     this.hangarActions = hangarActions;
     shipPopup          = messagePanel.GetComponent <IShipMessagePopup>();
     shipPopup.InitialisePopup(this);
 }