DuoMovementSimulation class

Forms a 2d simulation by just combining two Simulations in the x and y directions. Which is imperfect because instead of modelling an object that aims one thruster optimally, it's like it models an object with four thrusters pointing in cardinal directions, which is a weird object, but it looks fine, perhaps even better.

Inheritance
Implementers

Constructors

DuoMovementSimulation.new({required Simulation simulationx, required Simulation simulationy})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simulationx Simulation
final
simulationy Simulation
final

Methods

dx(double time) Offset
override
isDone(double time) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
target(Offset target, {required double time}) → void
time is the time since the last target call. After this call, internal time resets to 0.
override
toString() String
A string representation of this object.
inherited
x(double time) Offset
override

Operators

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