private void SpawnCrowdGroupTen() { SpawnGirl2(new Vector2(365, 220), SpriteEffects.FlipHorizontally); SpawnGirl1(new Vector2(340, 220)); Rectangle intentRectangle = new Rectangle(340, 210, 50, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupNine() { SpawnGuy2(new Vector2(580, 220)); SpawnGuy1(new Vector2(560, 220)); Rectangle intentRectangle = new Rectangle(560, 210, 50, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupFive() { SpawnGuy2(new Vector2(870, 350)); SpawnGuy2(new Vector2(890, 350)); Rectangle intentRectangle = new Rectangle(870, 400, 50, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupTwo() { SpawnGirl2(new Vector2(470, 350)); SpawnGirl2(new Vector2(495, 350), SpriteEffects.FlipHorizontally); Rectangle intentRectangle = new Rectangle(475, 400, 50, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupSeven() { SpawnGirl1(new Vector2(940, 220)); SpawnGirl2(new Vector2(950, 220)); SpawnGirl1(new Vector2(980, 220)); Rectangle intentRectangle = new Rectangle(940, 210, 70, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupOne() { SpawnGirl1(new Vector2(240, 350)); SpawnGuy2(new Vector2(255, 350)); SpawnGuy1(new Vector2(275, 350)); SpawnGirl1(new Vector2(290, 350), SpriteEffects.FlipHorizontally); SpawnGirl1(new Vector2(303, 350), SpriteEffects.FlipHorizontally); Rectangle intentRectangle = new Rectangle(240, 400, 95, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void SpawnCrowdGroupEight() { SpawnGirl1(new Vector2(690, 220)); SpawnGuy2(new Vector2(705, 220)); SpawnGuy1(new Vector2(725, 220)); SpawnGirl1(new Vector2(740, 220), SpriteEffects.FlipHorizontally); SpawnGirl1(new Vector2(753, 220), SpriteEffects.FlipHorizontally); Rectangle intentRectangle = new Rectangle(690, 210, 95, 50); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle); gameComponents.Add(goToIntent); }
private void AddEndLevelIntent() { Rectangle intentRectangle = new Rectangle(222, 208, 37, 49); GoToIntent goToIntent = new GoToIntent(inputManager, camera, player, intentRectangle) { OnFinished = (o, e) => { if (!GameOver) { Completed = true; } } }; gameComponents.Add(goToIntent); }