mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
16 lines
246 B
Ruby
16 lines
246 B
Ruby
class IMICFPS
|
|
module Scripting
|
|
def on
|
|
# self is a Scripting::SandBox
|
|
Subscription.new(self.entity)
|
|
end
|
|
|
|
def component(name)
|
|
Component.get(name)
|
|
end
|
|
|
|
def map
|
|
$window.current_state.map
|
|
end
|
|
end
|
|
end |