public Button(ADHDGame g, SpriteBatch sb, Texture2D t, Vector2 pos, EndScreen.Ending end, float time) : base(g, sb, t, pos, Rectangle.Empty, 0, 0.0f, false, 0) { ending = end; endTime = time; b1 = g.Content.Load<SoundEffect>("Bloop_01"); b2 = g.Content.Load<SoundEffect>("bloop_02"); }
public void End(EndScreen.Ending end, float time) { ending = end; endingTime = time; hudEnabled = false; }