util/functions library

Functions

getRectAndCollision(GameComponent? comp) Rect
Gets player position used how base in calculations
renderSpriteByRadAngle(Canvas canvas, double radAngle, Rect position, Sprite sprite, {double opacity = 1.0}) → void