示例#1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Exit_OF game = new Exit_OF())
     {
         game.Run();
     }
 }
示例#2
0
 public ScreenManager(Exit_OF game, GraphicsDevice graphicsDevice, ContentManager content)
 {
     m_Game = game;
     m_GraphicsDevice = graphicsDevice;
     m_Content = content;
 }
示例#3
0
        public void ParticleInit(Exit_OF exit_OF, GraphicsDevice graphicsDevice, ContentManager content)
        {
            particleComponent = new ParticleComponent(exit_OF);

            basicEffect = new BasicEffect(graphicsDevice)
            {
                TextureEnabled = true,
                VertexColorEnabled = true,
            };

            particleComponent.LoadContent(content);
        }
示例#4
0
 public HomeEScreen(Exit_OF game, GraphicsDevice device, ContentManager content)
 {
     ParticleInit(game, device, content);
 }
示例#5
0
 public ParticleComponent(Exit_OF game)
 {
     // TODO: Construct any child components here
     game.Components.Add(this);
 }