// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(75, 316); // Spawn keys keyDoor.SpawnKey(new Vector2(780, 177)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(775, 204); // Spawn keys keyDoor.SpawnKey(new Vector2(450, 215)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(20, 377); // Spawn keys keyDoor.SpawnKey(new Vector2(240, 95)); keyDoor.SpawnKey(new Vector2(739, 100)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(365, 403); // Spawn keys keyDoor.SpawnKey(new Vector2(699, 80)); keyDoor.SpawnKey(new Vector2(699, 384)); keyDoor.SpawnKey(new Vector2(410, 148)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(365, 322); // Spawn keys keyDoor.SpawnKey(new Vector2(110, 44)); keyDoor.SpawnKey(new Vector2(780, 103)); keyDoor.SpawnKey(new Vector2(585, 253)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(774, 305); // Spawn keys keyDoor.SpawnKey(new Vector2(779, 128)); keyDoor.SpawnKey(new Vector2(137, 202)); keyDoor.SpawnKey(new Vector2(410, 338)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(771, 377); // Spawn keys keyDoor.SpawnKey(new Vector2(70, 115)); keyDoor.SpawnKey(new Vector2(280, 321)); keyDoor.SpawnKey(new Vector2(603, 387)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(697, 373); // Spawn keys keyDoor.SpawnKey(new Vector2(777, 113)); keyDoor.SpawnKey(new Vector2(252, 88)); keyDoor.SpawnKey(new Vector2(73, 247)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(225, 302); // Spawn keys keyDoor.SpawnKey(new Vector2(350, 120)); keyDoor.SpawnKey(new Vector2(395, 235)); keyDoor.SpawnKey(new Vector2(85, 230)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(775, 223); // Spawn keys keyDoor.SpawnKey(new Vector2(164, 170)); keyDoor.SpawnKey(new Vector2(395, 300)); keyDoor.SpawnKey(new Vector2(444, 220)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(600, 144); // Spawn keys keyDoor.SpawnKey(new Vector2(657, 160)); keyDoor.SpawnKey(new Vector2(475, 380)); keyDoor.SpawnKey(new Vector2(175, 105)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(587, 335); // Spawn keys keyDoor.SpawnKey(new Vector2(50, 178)); keyDoor.SpawnKey(new Vector2(414, 102)); keyDoor.SpawnKey(new Vector2(184, 287)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(775, 302); // Spawn keys keyDoor.SpawnKey(new Vector2(775, 90)); keyDoor.SpawnKey(new Vector2(80, 90)); keyDoor.SpawnKey(new Vector2(525, 238)); }
// Update public void Update(GameTime gameTime, TileManager tileManager, KeyDoor keyDoor, SpikeManager spikeManager) { // Check collisions checkPlayerToBreakableCollisions(); MovePlayerWherePossible(tileManager); checkPlayerToSpikeCollisions(); checkPlayerToEnemyCollision(); checkPlayerToKeyCollisions(); checkPlayerToDoorCollision(); checkPlayerToHeartCollisions(); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(388, 164); // Spawn keys keyDoor.SpawnKey(new Vector2(38, 307)); keyDoor.SpawnKey(new Vector2(542, 108)); keyDoor.SpawnKey(new Vector2(229, 270)); keyDoor.SpawnKey(new Vector2(560, 270)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(180, 383); // Spawn keys keyDoor.SpawnKey(new Vector2(702, 113)); keyDoor.SpawnKey(new Vector2(315, 170)); keyDoor.SpawnKey(new Vector2(170, 110)); keyDoor.SpawnKey(new Vector2(700, 373)); }
// Position door and spawn keys public static void SpawnDoorAndKeys(KeyDoor keyDoor) { // Position door keyDoor.DoorPosition = new Vector2(460, 407); // Spawn keys keyDoor.SpawnKey(new Vector2(465, 210)); keyDoor.SpawnKey(new Vector2(783, 210)); keyDoor.SpawnKey(new Vector2(150, 265)); keyDoor.SpawnKey(new Vector2(292, 130)); keyDoor.SpawnKey(new Vector2(333, 360)); }
public CollisionManager( PlayerManager player, EnemyManager enemyManager, BreakableManager breakableManager, SpikeManager spikeManager, KeyDoor keyDoor, HeartManager heartManager ) { this.player = player; this.enemyManager = enemyManager; this.breakableManager = breakableManager; this.spikeManager = spikeManager; this.keyDoor = keyDoor; this.heartManager = heartManager; }