コード例 #1
0
ファイル: Program.cs プロジェクト: krzyzacy/WinterWarsXNA
 /// <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);
        }