PageRenderTime 16ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/Samples/Blocks/Program.cs

#
C# | 23 lines | 16 code | 2 blank | 5 comment | 0 complexity | f29852837281725ea6ab10c58f15df2b MD5 | raw file
Possible License(s): Apache-2.0
  1. using DeltaEngine.Core;
  2. using DeltaEngine.Platforms;
  3. namespace Blocks
  4. {
  5. /// <summary>
  6. /// Falling blocks can be moved and rotated. Points are scored by filling rows.
  7. /// </summary>
  8. public class Program : App
  9. {
  10. //ncrunch: no coverage start, this is equal to the default DE app initialization
  11. public Program()
  12. {
  13. new Game(Resolve<Window>());
  14. }
  15. public static void Main()
  16. {
  17. new Program().Run();
  18. }
  19. //ncrunch: no coverage end
  20. }
  21. }