CollisionData class

Constructors

CollisionData({required Vector2 normal, required double depth, required Direction direction, required List<Vector2> intersectionPoints})

Properties

depth double
final
direction Direction
final
hashCode int
The hash code for this object.
no setterinherited
intersectionPoints List<Vector2>
final
normal Vector2
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Vector2? normal, double? depth, Direction? direction, List<Vector2>? intersectionPoints}) CollisionData
inverted() CollisionData
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