Exemplo n.º 1
0
 public VersusScreen(MenuSystem screensystem, TextSection textsection, String spritepath, String animationpath, String soundpath)
     : base(screensystem, textsection, spritepath, animationpath, soundpath)
 {
     m_visibletime = textsection.GetAttribute<Int32>("time");
     m_p1 = new VersusData("p1.", textsection);
     m_p2 = new VersusData("p2.", textsection);
     m_timer = new CountdownTimer(TimeSpan.FromSeconds(m_visibletime / 60.0f), this.ShowTimeComplete);
 }
Exemplo n.º 2
0
 public VersusScreen(MenuSystem screensystem, TextSection textsection, string spritepath, string animationpath, string soundpath)
     : base(screensystem, textsection, spritepath, animationpath, soundpath)
 {
     m_visibletime = textsection.GetAttribute <int>("time");
     m_p1          = new VersusData("p1.", textsection);
     m_p2          = new VersusData("p2.", textsection);
     m_timer       = new CountdownTimer(TimeSpan.FromSeconds(m_visibletime / 60.0f), ShowTimeComplete);
 }