ActorAnimationWrite class final

What ActorAnimations.write is handed each step for an actor with a graph: the actor, its graph and where it wished to go.

One object, so a minor can say more (the step's length, the state the graph is in) without breaking a game written against 1.0. Made afresh for each actor each step; a writer does not keep it.

Constructors

ActorAnimationWrite({required Actor actor, required AnimationGraph graph, required Vector3 wish})
actor's graph, with the wish its brain made this step.
const

Properties

actor → Actor
The actor being stepped.
final
graph → AnimationGraph
The graph whose parameters to write.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wish → Vector3
Where the actor wished to go this step, in metres a second.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited