Exemple #1
0
    public ScoreEntry record_score(float aScore, ZgInterface aZg)
    {
        ScoreEntry score = new ScoreEntry();

        score.score     = aScore;
        score.image     = aZg.take_color_image();
        score.imageName = "hsimage_" + DateTime.Now.ToString();
        return(score);
    }
Exemple #2
0
    }                                   //0 default, 1 forceshow, 2 noshow
    public override void Update()
    {
        if (KeyMan.GetKeyDown("DepthToggle"))
        {
            ForceShow = (ForceShow + 1) % 3;
        }

        if (ForceShow == 1 ||
            (ForceShow != 2 && (is_reader_connected() == 2 && !is_user_in_screen())))
        {
            DepthView.show_indicator(true);
            mManager.mTransitionCameraManager.EnableDepthWarning = true;
        }
        else
        {
            DepthView.show_indicator(false);
            mManager.mTransitionCameraManager.EnableDepthWarning = false;
        }

        ZgInterface.update();
        DepthView.update();
    }
Exemple #3
0
 public bool has_user()
 {
     return(ZgInterface.has_user());
 }