OrderedStackVec2 class

Provides object pooling for all objects used in the engine. Objects retrieved from here should only be used temporarily, and then pushed back (with the exception of arrays).

Inheritance

Constructors

OrderedStackVec2(int argStackSize, int argContainerSize)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

newInstance() Vector2
Creates a new instance of the object contained by this stack.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pop() Vector2
inherited
popSome(int argNum) List<Vector2>
inherited
push(int argNum) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited