public Experiencebar(Yat yat, Texture2D cage, Texture2D health, SpriteFont font, Vector2 position, Resize resize, int startValue, int maxValue, AmountType amountType) { this.yat = yat; this.cage = cage; this.health = health; this.font = font; this.Position = position; this.resize = resize; this.startValue = startValue; this.maxValue = maxValue; this.Value = maxValue; this.amountType = amountType; this.margin = (cage.Width - health.Width) / 2; }
public Button(Vector2 position, Resize resize, Rectangle window, string text, SpriteFont font, bool center, Color textColor, Color highlightColor, bool highlight, Request makeRequest, Texture2D background) : this(position, resize, window, text, font, center, textColor, highlightColor, highlight, makeRequest) { this.background = background; }
public FPSCounter(Vector2 position, Resize resize, Rectangle window, SpriteFont font, Color textColor) : base(position, resize, window, "FPS: 60", font, false, textColor, Color.Black, false, null) { }