예제 #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 LuresList_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     try
     {
         int index = LuresList.SelectedIndex;
         lure = Item.LureInv[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
 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)
     {
     }
 }