mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 07:32:35 +00:00
19 lines
292 B
Ruby
19 lines
292 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
|
|
CyberarmEngine::Window.instance.director.map
|
|
end
|
|
end
|
|
end
|