class

Asteroids

Inherits PF::Game < Reference < Object

Constructors

new(*args)
Source

Instance methods

draw
Source
draw_point(x : Int32, y : Int32, pixel : PF::Pixel, surface = @screen)

override to wrap the coordinates

Source
generate_asteroids
Source
setup_round
Source
update(dt : Float64)
Source
wrap(position : Vector2)
Source