// Pass in reference to the GameWands system & setup values unique to each wizard // IN: (gamewands) Reference to the Leap tool game state handler, (wizardtype) Light or dark wizard, // (wizard) The ID of this wizard, (angle) The rotation of this wizard from 0 facing upwards // OUT: N/A public WizardClass( Session playsession, GameWandsClass gamewands, WizardTypeStruct wizardtype, int wizard, float angle ) : base() { LinkedSession = playsession; GameWands = gamewands; WizardType = wizardtype; ID = wizard; Angle = angle; }
// If using this constructor you must afterwards set the public variable GameWands // IN: N/A // OUT: N/A public WizardClass() : base() { WizardType = WizardTypeStruct.WIZARD_LIGHT; }