16 lines
207 B
Ruby
16 lines
207 B
Ruby
module GameServer
|
|
module Simulation
|
|
class World
|
|
attr_reader :time
|
|
|
|
def initialize
|
|
@time = 0.0
|
|
end
|
|
|
|
def advance(delta)
|
|
@time += delta
|
|
end
|
|
end
|
|
end
|
|
end
|