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); }
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); }
public WiimoteInfo() { InitializeComponent(); irGraphics = Graphics.FromImage(irBitmap); strokesGraphics = Graphics.FromImage(strokesBitmap); wandTracker = new WandTracker(); this.maxConfidence = 0.0; this.minConfidence = 1.0; }