4 Years Ago
Moved brain states to a new shared enum, AIState. State constructors set type. AddState no longer requires a type parameter. States are now automatically maintained, in a dictionary. Reworked current state handling to be a state ref, not using array indexes. Hooked up gizmo drawing to brain, calls it on any active state for debugging. Added basic debug rendering info to base brain (current state name for now).