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; }
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; }