int image_for_type()

in procgen/src/games/climber.cpp [141:155]


    int image_for_type(int type) override {
        if (type == PLAYER) {
            if (!has_support) {
                return PLAYER_JUMP;
            } else if (fabs(agent->vx) < .01 && action_vx == 0 && has_support) {
                return PLAYER;
            } else {
                return (cur_time / 5 % 2 == 0 || !has_support) ? PLAYER_RIGHT1 : PLAYER_RIGHT2;
            }
        } else if (type == ENEMY_BARRIER) {
            return -1;
        }

        return BasicAbstractGame::image_for_type(type);
    }