public HUDSpeedSetButton(HUDSpeedBaseButton baseBtn, GameSpeedModes buttonSpeed) { speed = buttonSpeed; baseButton = baseBtn; RelativePosition = baseButton.RelativePosition; Size = baseButton.Size; Alignment = baseButton.Alignment; OverrideEllipseSize = new FSize(REAL_DIAMETER, REAL_DIAMETER); }
public GDGameHUD(GDGameScreen scrn) : base(scrn, Textures.HUDFontRegular) { AddElement(BtnPause = new HUDPauseButton(true, true, true)); AddElement(BtnSpeed = new HUDSpeedBaseButton()); }