Class: ServerEngine::ProcessManager::TickThread

Inherits:
Thread
  • Object
show all
Defined in:
lib/serverengine/process_manager.rb

Instance Method Summary collapse

Constructor Details

#initialize(auto_tick_interval, &tick) ⇒ TickThread

Returns a new instance of TickThread.



473
474
475
476
477
# File 'lib/serverengine/process_manager.rb', line 473

def initialize(auto_tick_interval, &tick)
  @auto_tick_interval = auto_tick_interval
  @tick = tick
  super(&method(:main))
end