game-loop.uxf 831 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <diagram program="umlet" version="14.3.0">
  3. <help_text/>
  4. <zoom_level>8</zoom_level>
  5. <element>
  6. <id>UMLSequenceAllInOne</id>
  7. <coordinates>
  8. <x>128</x>
  9. <y>216</y>
  10. <w>1392</w>
  11. <h>336</h>
  12. </coordinates>
  13. <panel_attributes>title=Game loop in the backend
  14. obj=engine.ecal\nmoveLoop()~a
  15. obj=engine.ecal\nmoveObject()~b
  16. obj=engine.ecal\nexecuteAction()~c
  17. obj=engine.ecal\ncollisionDetection()~d
  18. obj=game/game-controller.ts\nupdatePushHandler()~e
  19. gate-&gt;a:Pulse trigger main.gameloop
  20. a-&gt;b:loop over game objects
  21. a-&gt;c:loop over game objects
  22. b-&gt;e:send state update to all websockets
  23. a-&gt;d:loop over game objects
  24. a-&gt;e:send object removals to all websockets
  25. </panel_attributes>
  26. <additional_attributes/>
  27. </element>
  28. </diagram>