public CollisionDetection(Player player, Game1 game) { this.game = game; grassResponse = new GrassCollisionResponse(game); tileResponse = new TileCollisionResponse(game); ledgeResponse = new LedgeCollisionResponse(game); buildingResponse = new BuildingCollisionResponse(game); enemyResponse = new EnemyCollisionResponse(game); exitResponse = new ExitCollisionResponse(game); }