Пример #1
0
 public WandHandler(PictureBox pbStrokes, List<string> spellNames, Action spellFunction)
 {
     this.pbStrokes = pbStrokes;
     spellAction = spellFunction;
     strokesGraphics = Graphics.FromImage(strokesBitmap);
     wandTracker = new WandTracker();
     wandTracker.setSpells(spellNames, null, null, null);
 }
Пример #2
0
 public WandHandler(PictureBox pbStrokes, List <String> spellNames, Action spellFunction)
 {
     this.pbStrokes   = pbStrokes;
     this.spellAction = spellFunction;
     strokesGraphics  = Graphics.FromImage(strokesBitmap);
     wandTracker      = new WandTracker();
     wandTracker.setSpells(spellNames, null, null, null);
 }
Пример #3
0
        public WiimoteInfo()
        {
            InitializeComponent();
            irGraphics = Graphics.FromImage(irBitmap);
            strokesGraphics = Graphics.FromImage(strokesBitmap);
            wandTracker = new WandTracker();

            this.maxConfidence = 0.0;
            this.minConfidence = 1.0;
        }
Пример #4
0
        public WiimoteInfo()
        {
            InitializeComponent();
            irGraphics      = Graphics.FromImage(irBitmap);
            strokesGraphics = Graphics.FromImage(strokesBitmap);
            wandTracker     = new WandTracker();

            this.maxConfidence = 0.0;
            this.minConfidence = 1.0;
        }