Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Knot3.GameScreen"/> class.
 /// </summary>
 /// <param name='game'>
 /// The Game.
 /// </param>
 public GameScreen(Knot3Game game)
 {
     this.game = game;
     this.NextState = this;
     this.CurrentRenderEffects = new RenderEffectStack (defaultEffect: new StandardEffect (this));
     this.PostProcessingEffect = new StandardEffect (this);
     this.input = new InputManager (this);
 }
Пример #2
0
 public StartScreen(Knot3Game game)
     : base(game)
 {
     menu = new Menu (this, new WidgetInfo (), DisplayLayer.Menu);
 }
Пример #3
0
 static void Main()
 {
     game = new Knot3Game ();
     game.Run ();
 }
Пример #4
0
 public static void Initialize(Knot3Game game)
 {
     CreativeMode = new CreativeModeScreen (game);
     StartScreen = new StartScreen (game);
     OptionScreen = new OptionScreen (game);
     VideoOptionScreen = new VideoOptionScreen (game);
     LoadSavegameScreen = new CreativeLoadScreen (game);
     CreativeMode.Initialize ();
     StartScreen.Initialize ();
     OptionScreen.Initialize ();
     VideoOptionScreen.Initialize ();
     LoadSavegameScreen.Initialize ();
 }