public Vector2f getDoorSize()
    {
        if(getTransform().getRotation().getY() == 90)
        {
            return new Vector2f(WIDTH, LENGHT);
        }else {
            return new Vector2f(LENGHT, WIDTH);
        }
    }