protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); DrawScenery(); DrawPlayers(); spriteBatch.End(); RocketFire rocket = new RocketFire(); GrenadeFire grenade = new GrenadeFire(); base.Draw(gameTime); }
protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); DrawScenery(); DrawPlayers(); spriteBatch.End(); RocketFire rocket = new RocketFire(); GrenadeFire grenade = new GrenadeFire(); base.Draw(gameTime); }
private void Start() { tank = GetComponent <FuelTank>(); fire = GetComponentInChildren <RocketFire>(); }