public ShopItem(itemType type, string name, int price, Color color, itemState state) { this.state = state; this.name = name; this.type = type; this.price = price; this.Color = color; }
public void Clean() { item_id = -1; ftime = 0; state = itemState.normal; seleccionable = false; auto_seleccionable = false; scrolleable = true; text = ""; rc = Rectangle.Empty; textura = null; len = 0; c_fondo = DXGui.c_fondo; c_font = DXGui.c_font; c_selected = DXGui.c_selected; center = Point.Empty; item3d = false; disabled = false; image_width = image_height = 0; siempre_visible = false; }