Exemple #1
0
 public void setAssembly(Road r, Reel reel, FLine fLine, Lure lure)
 {
     this.proad = r;
     this.reel  = reel;
     this.fline = fLine;
     this.lure  = lure;
 }
Exemple #2
0
 private void ReelsList_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     try
     {
         int index = ReelsList.SelectedIndex;
         reel = Item.ReelInv[index];
     }
     catch (Exception) { }
 }
Exemple #3
0
        public Assembly(string name, Road road, Reel reel, FLine fLine, Lure lure, ROAD_TYPE roadType)
        {
            this.proad = road;
            this.reel  = reel;
            this.fLine = fLine;

            this.lure     = lure;
            this.roadType = roadType;
            this.name     = name;
        }
Exemple #4
0
        public Assembly(string name, Road road, Reel reel, FLine fLine, FishBait fb)
        {
            if (string.IsNullOrWhiteSpace(name))
            {
                throw new ArgumentException("message", nameof(name));
            }

            Road     = road;
            Reel     = reel;
            FLine    = fLine;
            FishBait = fb;
            Name     = name;
        }
Exemple #5
0
 private void AssembliesBox_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     try
     {
         int index = assembliesBox.SelectedIndex;
         RoadBox.Image  = Assembly.GetAssemblies()[index].proad.Pict;
         ReelBox.Image  = Assembly.GetAssemblies()[index].reel.Pict;
         FLineBox.Image = Assembly.GetAssemblies()[index].fLine.Pict;
         BaitBox.Image  = Assembly.GetAssemblies()[index].lure.pic;
         road           = Assembly.GetAssemblies()[index].proad;
         reel           = Assembly.GetAssemblies()[index].reel;
         fline          = Assembly.GetAssemblies()[index].fLine;
         lure           = Assembly.GetAssemblies()[index].lure;
         Player.getPlayer().setAssembly(road, reel, fline, lure);
     }
     catch (Exception)
     {
     }
 }