master
E. Almqvist 3 years ago
parent 388ad92bb4
commit ea7f684fc4
  1. 4
      src/app.rb

@ -66,8 +66,8 @@ class Window < Gosu::Window
sol = Planet.new("Sol", self, 0xff_ffffaa, 1e2, 15, 1) sol = Planet.new("Sol", self, 0xff_ffffaa, 1e2, 15, 1)
sol.pos = Vector[800, 450] sol.pos = Vector[800, 450]
planet = Planet.new("Planet", self, 0xff_cccccc, 1e-1, 8, 1) planet = Planet.new("Planet", self, 0xff_cccccc, 1e1, 8, 1)
planet.pos = Vector[800, 450 + 300] planet.pos = Vector[800, 450 + 800]
planet.vel = Vector[-2, 0] planet.vel = Vector[-2, 0]
planet.show_info = true planet.show_info = true

Loading…
Cancel
Save