Module: Lotu::SystemUser

Included in:
Actor, Game
Defined in:
lib/lotu/behaviors/system_user.rb

Instance Method Summary collapse

Instance Method Details

#use(klass, opts = {}) ⇒ Object

Allows to activate a system in the host



5
6
7
# File 'lib/lotu/behaviors/system_user.rb', line 5

def use(klass, opts={})
  @systems[klass] = klass.new(self, opts)
end