CollisionProspect<T> class

A CollisionProspect is a tuple that is used to contain two potentially colliding hitboxes.

Constructors

CollisionProspect(T _a, T _b)

Properties

a → T
no setter
b → T
no setter
hash int
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() CollisionProspect<T>
Creates a new prospect object with the same content.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(T a, T b) → void
Sets the prospect to contain a and b instead of what it previously contained.
setFrom(CollisionProspect<T> other) → void
Sets the prospect to contain the content of other.
toString() String
A string representation of this object.
inherited

Operators

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