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