Advertisement
Guest User

Untitled

a guest
Jun 20th, 2014
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. Component = Class()
  2. -- Proxy functions
  3. function Component:Awake() end
  4. function Component:Update() end
  5. function Component:FixedUpdate() end
  6. function Component:LateUpdate() end
  7.  
  8. Entity = Class()
  9.  
  10. function Entity:AddComponent(componentType)
  11. function Entity:GetComponent(componentType)
  12.  
  13. -- Proxy functions
  14. function Entity:Awake()
  15. function Entity:Update()
  16. function Entity:FixedUpdate()
  17. function Entity:LateUpdate()
  18. function Entity:Message(funcname, data)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement