Example #1
0
 static void Main()
 {
     MouseSystems.RegisterAll(Entity.System);
     SoundSystems.RegisterAll(Entity.System);
     using (var game = new NeedlesslyComplexMainGame("MonoGame.Cards", "Table", new Display(1600, 900, false, 1), CreateSceneFactory(), CreateController()))
         game.Run();
 }
Example #2
0
 static void Main()
 {
     using (var game = new NeedlesslyComplexMainGame("Golden Arrow", "Setup", new Display(1600, 900, false, 1), CreateSceneFactory(), CreateController()))
     {
         MouseSystems.RegisterAll(Entity.System);
         SoundSystems.RegisterAll(Entity.System);
         Entity.Register(new KeyboardInput());
         Entity.Register(new HandDisplaying());
         game.Run();
     }
 }