void SpawnGoldKey(int x, int y) { AdventureGoldKey aK = new AdventureGoldKey(); aK.Initialize(this, game); aK.location.X = 32 * x + 16; aK.location.Y = 32 * y + 16; newobjects.Add(aK); adventure.rooms[roomX, roomY].adventureObjects.Add(aK); // So that the key respawns even if you leave the room, but not the adventure }