public void CountdownChanged(object sender, CountdownEventArgs args) { if (args.Counter > 0) { _countTexture = contentManager.Load <Texture2D>(@"UI\" + args.Counter); } else if (args.Counter == 0) { _countTexture = contentManager.Load <Texture2D>(@"UI\Begin"); } else { _countTexture = null; } }
public void CountdownChanged(object sender, CountdownEventArgs args) { if (args.Counter > 0) { _countTexture = contentManager.Load<Texture2D>(@"UI\" + args.Counter); } else if (args.Counter == 0) { _countTexture = contentManager.Load<Texture2D>(@"UI\Begin"); } else { _countTexture = null; } }