Animancer v6.0 is currently available for testing.

Animancer.Examples.StateMachines.Brains Namespace

Summary

Code for the Brains and More Brains examples.

Class Types

Class Summary
Creature A centralised group of references to the common parts of a creature and a state machine for their actions.
CreatureBrain Base class for controlling the actions of a Animancer.Examples.StateMachines.Brains.Creature.
CreatureState Base class for the various states a Animancer.Examples.StateMachines.Brains.Creature can be in and actions they can perform.
CreatureStats The numerical details of a Animancer.Examples.StateMachines.Brains.Creature.
IdleState A Animancer.Examples.StateMachines.Brains.CreatureState which keeps the creature standing still.
KeyboardBrain A Animancer.Examples.StateMachines.Brains.CreatureBrain which controls the creature using keyboard input.
LocomotionState A Animancer.Examples.StateMachines.Brains.CreatureState which moves the creature according to their Animancer.Examples.StateMachines.Brains.CreatureBrain.MovementDirection.
MouseBrain A Animancer.Examples.StateMachines.Brains.CreatureBrain which controls the creature using mouse input.