mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Implemented event system, Implemented initial bit of scripting system, Stubbed component system. Entities can now use the scripting system to place their 'decorations'
This commit is contained in:
11
lib/scripting.rb
Normal file
11
lib/scripting.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class IMICFPS
|
||||
module Scripting
|
||||
def on
|
||||
Subscription.new(self)
|
||||
end
|
||||
|
||||
def component(name)
|
||||
Component.get(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user