public Button(SpriteMapDrawer smd, Vector2 pos, int width = 400, int height = 50, String color = "blue") { this.smd = smd; this.pos = pos; this.width = width; this.height = height; this.color = color; this.isHovered = false; }
public FillableBar(SpriteMapDrawer smd, Vector2 pos, int width = 400, int height = 50, String color = "blue") { this.smd = smd; this.pos = pos; this.width = width; this.height = height; this.color = color; value = .005f; if (value < 0.02) { marginValue = value * 50; } }