PositionComponentEffect class

Implementers

Constructors

PositionComponentEffect(bool _initialIsInfinite, bool _initialIsAlternating, {dynamic onComplete()})

Properties

component PositionComponent
read / write
currentTime double
read / write
curveDirection int
read / write
driftTime double
read / write
endAngle double
read / write
endPosition Position
Used to be able to determine the end state of a sequence of effects
read / write
endSize Position
read / write
hashCode int
The hash code for this object.
read-only, inherited
isAlternating bool
read / write
isDisposed bool
read-only
isInfinite bool
If the animation should first follow the initial curve and then follow the curve backwards
read / write
onComplete ↔ dynamic Function()
read / write
percentage double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalTravelTime double
If the effect is alternating the travel time is double the normal travel time
read-only
travelTime double
read / write

Methods

dispose() → void
hasFinished() bool
initialize(PositionComponent _comp) → void
isMax() bool
isMin() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
reset() → void
toString() String
A string representation of this object.
inherited
update(double dt) → void

Operators

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