BodyUpdate class
Updates one or more properties of an existing body.
Constructors
Properties
- alive → bool?
-
Optional alive/dead flag.
final
- colorValue → int?
-
Optional ARGB color value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier of the body to modify.
final
- kind → String?
-
Optional body kind/category tag.
final
- label → String?
-
Optional human-readable label.
final
- mass → double?
-
Optional updated mass value.
final
- position → Vec2?
-
Optional updated position.
final
- radius → double?
-
Optional updated radius value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- velocity → Vec2?
-
Optional updated velocity.
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