SpellBookView Class |
Namespace: RavingBots.MagicGestures.UI.Views
public class SpellBookView : View
The SpellBookView type exposes the following members.
Name | Description | |
---|---|---|
SpellBookView | Initializes a new instance of the SpellBookView class |
Name | Description | |
---|---|---|
SelectedSlot |
The currently selected slot.
| |
Spells |
The array of known spells.
| |
ValidSlots |
Slots where IsValid is .
|
Name | Description | |
---|---|---|
Awake |
Set the initial state.
(Overrides ViewAwake.) | |
CastSpell |
Cast the recognized spell.
| |
CreateSpellSlots |
Create all of the slots.
| |
GetTrainingData |
Get the spell data from valid slots.
| |
GoBack |
Called when user presses the back button.
(Overrides ViewGoBack.) | |
MorphTrail |
Morph the drawn gesture into the recognized shape.
| |
Start |
Register the event handlers.
| |
UpdateValidSlots |
Update ValidSlots.
|
Name | Description | |
---|---|---|
_spellSlots |
Created spell slots.
| |
SlotHeight |
The height of the spell slot grid.
| |
SlotPrefab |
The prefab for the spell slots.
| |
SlotSpacing |
Spacing between the slots in the grid.
| |
SlotWidth |
The width of the spell slot grid.
|