Пример #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Play_State game = new Play_State())
     {
         game.Run();
     }
 }
Пример #2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GameplayScreen(GraphicsDeviceManager graphics_, ContentManager content_)
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);
            content = content_;
            graphics = graphics_;

            my_game = new Play_State(graphics, content);
        }