agrfun 1.0.0

Download zip

class: Comet

[39:7] extends: object

A small comet that arcs across the AGR FXGL window. Build one and call run(). The comet enters at a random point on one edge and heads for a random point on a different edge, bowing left or right of that line as it flies. Every value is drawn fresh, so no two comets fly the same path. The numbers at the top of the class are the dials. Change them to alter how the comet looks and flies.

Members

Methods