예제 #1
0
 public RenderableIRecipe(Rectangle bounds, string image, bool isContained, IActionBarItem actionBarItem) : base(bounds, image, isContained)
 {
     this.BarItem           = actionBarItem;
     this.ClickEvent       += this.RenderableIRecipe_ClickEvent;
     this.DoubleClickEvent += this.RenderableIRecipe_ClickEvent;
 }
예제 #2
0
 public RenderableIRecipe(Rectangle bounds, int textureID, bool isContained, IActionBarItem actionBarItem) : base(bounds, textureID, isContained)
 {
     this.BarItem           = actionBarItem;
     this.ClickEvent       += this.RenderableIRecipe_ClickEvent;
     this.DoubleClickEvent += this.RenderableIRecipe_ClickEvent;
 }