Minor changes; RectF -> Rect, PointF -> Point, decreased the "backbouncing" of the collisions. Fixed the Graphic resize to also update the hitbox correctly.
67709: Ball starts at pixel-group with color 0x00FF00. Goal is created at pixel-group with color 0xFF0000. Tokens are created at pixel-groups with color 0x0000FF. Map now resizes according to screen width. The methods isCompleted and findsToken are implemented in game loop for further usage (call them triggers or whatever).