public void Initialize(IntoTheBlaze game) { this.game = game; fire = new List <BigFlameParticle>(); tinyFire = new List <BigFlameParticle>(); mouseOnStartButton = mouseOnCreditsButton = mouseOnEndButton = false; }
public void Initialize(IntoTheBlaze game) { this.game = game; winTimer = new StepTimer(180); fireSndTimer = new StepTimer(108); fireExtSndTimer = new StepTimer(440); heatMap = new HeatMap(); partSystem = new GamePartSystem(); partSystem.Initialize(game); startingCost = 0; player = new Player(); player.Initialize(this, game); background = new RenderTarget2D( game.GraphicsDevice, 1024, 640, false, game.GraphicsDevice.PresentationParameters.BackBufferFormat, DepthFormat.Depth24); floor = new byte[32, 17]; walls = new byte[32, 17]; backgroundGenerated = false; gameObjects = new Dictionary <string, GameObject>(); wallColliders = new List <Rect>(); gameObjectInstances = new List <GameObjectInstance>(); }
public void Initialize(IntoTheBlaze game) { this.game = game; menu = game.MenuScreen; level = game.LevelScreen; tinyFire = new List <BigFlameParticle>(); mouseOnContinueButton = false; }
public void Initialize(IntoTheBlaze game) { this.game = game; menu = game.MenuScreen; tinyFire = new List <BigFlameParticle>(); links = new[] { new Tuple <Rectangle, string>( new Rectangle(379, 124, 253, 31), "https://zdepav.cz"), new Tuple <Rectangle, string>( new Rectangle(354, 254, 193, 34), "https://www.youtube.com/watch?v=q5w5VX4tAD4"), new Tuple <Rectangle, string>( new Rectangle(375, 294, 150, 27), "http://teknoaxe.com/Link_Code_3.php?q=1292"), new Tuple <Rectangle, string>( new Rectangle(302, 413, 407, 28), "https://www.freesoundeffects.com") }; mouseOnBackButton = false; }
public void Initialize(IntoTheBlaze game) { this.game = game; parts = new List <IParticle>(); }