예제 #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;
 }
예제 #2
0
 private void FLineList_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     try
     {
         int index = FLineList.SelectedIndex;
         fline = Item.LeskaInv[index];
     }
     catch (Exception) { }
 }
예제 #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;
        }
예제 #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;
        }
예제 #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)
     {
     }
 }