Defines a transition edge between two animations in the state machine. More...
#include <Animator.h>

Public Member Functions | |
| Edge (std::vector< std::shared_ptr< bool > > conditions) | |
| Constructs an Edge with a set of transition conditions. | |
| const bool | canTraverse () const |
| Checks if all conditions for traversing this edge are met. | |
Public Attributes | |
| std::vector< std::shared_ptr< bool > > | conditions |
Defines a transition edge between two animations in the state machine.
| Animator::Edge::Edge | ( | std::vector< std::shared_ptr< bool > > | conditions | ) |
Constructs an Edge with a set of transition conditions.
| conditions | A vector of shared pointers to booleans. |
Checks if all conditions for traversing this edge are met.

| std::vector<std::shared_ptr<bool> > Animator::Edge::conditions |
A list of conditions that must all be true for this edge to be traversed.