示例#1
0
 public void Start(GameEngine engine)
 {
     Bus.Add(new SystemMessage(engine.Timer.LastTickTime, "VoxelRTS Graphics starting."));
     using (var p = new VoxelRTSWindow(engine))
     {
         p.LoadView(typeof(VoxelGreen), new VoxelGreenView());
         p.LoadView(typeof(Planet), new PlanetView());
         p.LoadView(typeof(TopMenu), new TopMenuView(p));
         p.Run();
     }
 }
示例#2
0
 public void Start(GameEngine engine)
 {
     Bus.Add(new SystemMessage(engine.Timer.LastTickTime, "VoxelRTS Graphics starting."));
     using (var p = new VoxelRTSWindow(engine))
     {
         p.LoadView(typeof(VoxelGreen), new VoxelGreenView());
         p.LoadView(typeof(Planet), new PlanetView());
         p.LoadView(typeof(TopMenu), new TopMenuView(p));
         p.Run();
     }
 }