public ArrayList<PlayerLocation> getPlayersLocation()
    {
        ArrayList<PlayerLocation> list = new ArrayList<PlayerLocation>();
        
        list.add(new PlayerLocation(pacMan.getX() - pixels, pacMan.getY() - pixels, pacMan.getImageName()));
        
        for (Phantom phantom : phantoms) {
            list.add(new PlayerLocation(phantom.getX() - pixels, phantom.getY() - pixels, phantom.getImageName()));
        }
        return list;
    }