display-loop.uxf 812 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <diagram program="umlet" version="14.3.0">
  3. <help_text/>
  4. <zoom_level>9</zoom_level>
  5. <element>
  6. <id>UMLSequenceAllInOne</id>
  7. <coordinates>
  8. <x>63</x>
  9. <y>243</y>
  10. <w>1377</w>
  11. <h>450</h>
  12. </coordinates>
  13. <panel_attributes>title=Display loop in the frontend
  14. obj=game/game-controller.ts\nupdatePushHandler~a
  15. obj=game/objects.ts\nPlayer~b
  16. obj=game/objects.ts\nSprite~c
  17. obj=display/engine.ts\nMainDisplayController:drawLoop()~d
  18. obj=display/engine.ts\nMainDisplayController~e
  19. gate-&gt;a:Websocket messages
  20. a-&gt;b:setState()
  21. a-&gt;c:setState()
  22. d-&gt;e:drawSprites()
  23. d-&gt;e:drawPlayer()
  24. d-&gt;e:drawInfoOverlay()
  25. d-&gt;d+:drawLoop() (using setTimeout)
  26. </panel_attributes>
  27. <additional_attributes/>
  28. </element>
  29. </diagram>