<commit_before>package levels;

import item.Item;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;

import javax.imageio.ImageIO;

import thingsthatmove.Enemy;
import thingsthatmove.GameObject;
import thingsthatmove.Player;
import thingsthatmove.Projectile;

public class Room {
    private ArrayList<Enemy> enemies = new ArrayList<Enemy>();
    private ArrayList<Rectangle> hitboxes = new ArrayList<Rectangle>();
    private ArrayList<Item> items = new ArrayList<Item>();
    private ArrayList<GameObject> roomObjects = new ArrayList<GameObject>();
    private Thread moveEnemies, playerEnemyCollision;
    private Player player;
    private Image background, hud;
    private Image northClosedDoor, southClosedDoor, eastClosedDoor,
            westClosedDoor;
    private Image northOpenDoor, southOpenDoor, eastOpenDoor, westOpenDoor;
    private BufferedImage northLockedDoor, southLockedDoor, eastLockedDoor, westLockedDoor;
    private Room north, east, south, west;
    private boolean northOpen, southOpen, eastOpen, westOpen;
    private boolean atNorthDoor, atSouthDoor, atEastDoor, atWestDoor;

    private boolean inRoom;
    private boolean takenDamage;
    private boolean visited;
    private boolean isLocked;

    // The room bounds
    private final int LOWER_X_BOUND = 130;
    private final int UPPER_X_BOUND = 850;
    private final int LOWER_Y_BOUND = 330;
    private final int UPPER_Y_BOUND = 575;

    private final int NORTH_DOOR_X = 450;
    private final int NORTH_DOOR_Y = 335;
    private final int SOUTH_DOOR_X = 450;
    private final int SOUTH_DOOR_Y = 681;
    private final int EAST_DOOR_X = 926;
    private final int EAST_DOOR_Y = 420;
    private final int WEST_DOOR_X = 140;
    private final int WEST_DOOR_Y = 420;
<commit_msg>door locations<commit_after>package levels;

import item.Item;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;

import javax.imageio.ImageIO;

import thingsthatmove.Enemy;
import thingsthatmove.GameObject;
import thingsthatmove.Player;
import thingsthatmove.Projectile;

public class Room {
    private ArrayList<Enemy> enemies = new ArrayList<Enemy>();
    private ArrayList<Rectangle> hitboxes = new ArrayList<Rectangle>();
    private ArrayList<Item> items = new ArrayList<Item>();
    private ArrayList<GameObject> roomObjects = new ArrayList<GameObject>();
    private Thread moveEnemies, playerEnemyCollision;
    private Player player;
    private Image background, hud;
    private Image northClosedDoor, southClosedDoor, eastClosedDoor,
            westClosedDoor;
    private Image northOpenDoor, southOpenDoor, eastOpenDoor, westOpenDoor;
    private BufferedImage northLockedDoor, southLockedDoor, eastLockedDoor, westLockedDoor;
    private Room north, east, south, west;
    private boolean northOpen, southOpen, eastOpen, westOpen;
    private boolean atNorthDoor, atSouthDoor, atEastDoor, atWestDoor;

    private boolean inRoom;
    private boolean takenDamage;
    private boolean visited;
    private boolean isLocked;

    // The room bounds
    private final int LOWER_X_BOUND = 130;
    private final int UPPER_X_BOUND = 850;
    private final int LOWER_Y_BOUND = 330;
    private final int UPPER_Y_BOUND = 575;

    private final int NORTH_DOOR_X = 450;
    private final int NORTH_DOOR_Y = 315;
    private final int SOUTH_DOOR_X = 450;
    private final int SOUTH_DOOR_Y = 675;
    private final int EAST_DOOR_X = 920;
    private final int EAST_DOOR_Y = 420;
    private final int WEST_DOOR_X = 120;
    private final int WEST_DOOR_Y = 420;

{'fraction_non_alphanumeric': 0.06984450675503441, 'fraction_numerical': 0.018353301045118533, 'mean_word_length': 4.3901098901098905, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '300048', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1204, 'n_words': 355}