public void OnDraw(object sender, DrawEventArgs e) { Icon.Draw(e.SpriteBatch, new Rectangle(Button.AbsoluteLocation.X, Button.AbsoluteLocation.Y, Button.Size.Height, Button.Size.Height)); ProductionName.Draw(e.SpriteBatch, new Vector2(Button.AbsoluteLocation.X + Button.Size.Height + 5, Button.AbsoluteLocation.Y + 5)); ProductionProgress.Draw(e.SpriteBatch, new Vector2(Button.AbsoluteLocation.X + Button.Size.Height + 5, Button.AbsoluteLocation.Y + Button.Size.Height - 25)); }
//public GachaResultEntity SetProduction(ProductionName productionName) //{ // this.ProductionName = productionName; // return this; //} public GachaResultEntity(GachaResultEntity gr, ProductionName productionName) { this.GameItem = gr.GameItem; this.IsSuffer = gr.IsSuffer; this.productionName = productionName; }