/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Exit_OF game = new Exit_OF()) { game.Run(); } }
public ScreenManager(Exit_OF game, GraphicsDevice graphicsDevice, ContentManager content) { m_Game = game; m_GraphicsDevice = graphicsDevice; m_Content = content; }
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); }
public HomeEScreen(Exit_OF game, GraphicsDevice device, ContentManager content) { ParticleInit(game, device, content); }
public ParticleComponent(Exit_OF game) { // TODO: Construct any child components here game.Components.Add(this); }