Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
        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");
        }
Exemplo n.º 3
0
 public void End(EndScreen.Ending end, float time)
 {
     ending = end;
     endingTime = time;
     hudEnabled = false;
 }
Exemplo n.º 4
0
 public void End(EndScreen.Ending end, float time)
 {
     ending     = end;
     endingTime = time;
     hudEnabled = false;
 }