parent
9c5cff8631
commit
559d0c7dea
@ -1,3 +1,3 @@ |
||||
# Hohmann Miner |
||||
Mine stuff and then get more stuff but in space. |
||||
![](preview.png) |
||||
![](media/preview.png) |
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@ -0,0 +1,16 @@ |
||||
class Universe |
||||
attr_accessor :freeze, :physobjs, :planets, :controller, :camera, :ui |
||||
def initialize(seed, window) |
||||
@seed = seed |
||||
@window = window |
||||
|
||||
@physobjs = [] |
||||
@planets = [] |
||||
|
||||
@freeze = true |
||||
@controller = nil |
||||
|
||||
@camera = Vector[0, 0] |
||||
@ui = [] |
||||
end |
||||
end |
Loading…
Reference in new issue