engine library

Classes

AnimationClip
AnimationData
AssetSystem
BaseObject
Batch
BatchData
CameraSystem
Colors
Component
DebugSystem
Drawable
DrawableObject
DrawableObjectList
DrawableText
EngineBatch
FactorySystem
Float4Data
Float4DataPool
InternalAssetSystem
Lerp
MutableRectangle<T extends num>
A class for representing two-dimensional axis-aligned rectangles with mutable properties.
ObjectManager<T extends BaseObject>
ObjectPool<E>
Parameters
PhasedObject
PhasedObjectManager<T extends PhasedObject>
Point<T extends num>
A utility class for representing two-dimensional positions.
Priority
Random
A generator of random bool, int, or double values.
Rectangle<T extends num>
A class for representing two-dimensional rectangles whose properties are immutable.
RenderComponent
RenderElement
RenderListComponent
RenderQueue
RenderSystem
Scene
SceneObject
SceneObjectManager
SpriteAnimationComponent
SpriteComponent
SpriteListComponent
SystemRegistry
TextComponent
TextElement
TextSystem
Texture
TextureRegion
TextureSystem
TransformData
UpdateSystem
Vector2
2D column vector.

Constants

e → const double
Base of the natural logarithms.
halfPi → const double
iscos → const int
issin → const int
itx → const int
ity → const int
ln10 → const double
Natural logarithm of 10.
ln2 → const double
Natural logarithm of 2.
log10e → const double
Base-10 logarithm of e.
log2e → const double
Base-2 logarithm of e.
phasedObjectComparator → const int Function(PhasedObject obj1, PhasedObject obj2)
pi → const double
The PI constant.
sqrt1_2 → const double
Square root of 1/2.
sqrt2 → const double
Square root of 2.
twoPi → const double

Functions

acos(num x) double
Converts x to a double and returns its arc cosine in radians.
asin(num x) double
Converts x to a double and returns its arc sine in radians.
atan(num x) double
Converts x to a double and returns its arc tangent in radians.
atan2(num a, num b) double
A variant of atan.
coordinatesInRect(double x, double y, Rect rect) bool
cos(num radians) double
Converts radians to a double and returns the cosine of the value.
exp(num x) double
Converts x to a double and returns the natural exponent, e, to the power x.
fastCos(double x) → dynamic
fastSin(double x) → dynamic
log(num x) double
Converts x to a double and returns the natural logarithm of the value.
max<T extends num>(T a, T b) → T
Returns the larger of two numbers.
min<T extends num>(T a, T b) → T
Returns the lesser of two numbers.
positionInRect(Vector2 position, Rect rect) bool
pow(num x, num exponent) num
Returns x to the power of exponent.
radRound(double x) double
sin(num radians) double
Converts radians to a double and returns the sine of the value.
sqrt(num x) double
Converts x to a double and returns the positive square root of the value.
tan(num radians) double
Converts radians to a double and returns the tangent of the value.