Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Component = Class()
- -- Proxy functions
- function Component:Awake() end
- function Component:Update() end
- function Component:FixedUpdate() end
- function Component:LateUpdate() end
- Entity = Class()
- function Entity:AddComponent(componentType)
- function Entity:GetComponent(componentType)
- -- Proxy functions
- function Entity:Awake()
- function Entity:Update()
- function Entity:FixedUpdate()
- function Entity:LateUpdate()
- function Entity:Message(funcname, data)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement