public Actor getActor(int x, int y){
        for (Actor actor : actorList){
            if (actor.getPosX() == x && actor.getPosY() == y){
                return actor;
            }
        }
        return null;
    }