/Samples/Breakout/Program.cs

# · C# · 23 lines · 17 code · 2 blank · 4 comment · 0 complexity · a5f48ee070a8966a5aaaf6e7781b1447 MD5 · raw file

  1. using DeltaEngine.Core;
  2. using DeltaEngine.Platforms;
  3. namespace Breakout
  4. {
  5. /// <summary>
  6. /// Simple breakout game with more bricks to destroy each level you advance.
  7. /// </summary>
  8. public class Program : App
  9. {
  10. //ncrunch: no coverage start
  11. public Program()
  12. {
  13. Resolve<Settings>().UpdatesPerSecond = 60;
  14. new Game(Resolve<Window>());
  15. }
  16. public static void Main()
  17. {
  18. new Program().Run();
  19. }
  20. }
  21. }