예제 #1
0
        public CGameSnapshot(CRuneScape _osrs,
            CRuneScapeOCR _ocr,
            CScanner _scanner,
            CInteraction _interaction,
            CVirtualCanvas _canvas,
            bool _scribe)
        {
            this.runeScape = _osrs;
            this.opticalCharRecognition = _ocr;
            this.windowScanner = _scanner;
            this.windowInteraction = _interaction;
            this.virtualCanvas = _canvas;

            this.bShouldScribe = _scribe;

            this.char_LastScan = new List<str_Char>();
            this.word_LastScan = new List<CWord>();
        }
예제 #2
0
 private void CreateObjects() {
     this.virtualCanvas = new CVirtualCanvas();
     this.interaction = new CInteraction(this);
     this.scanner = new CScanner();
     this.ocr = new CRuneScapeOCR(virtualCanvas);
 }