-
-
Save Ratstail91/5747225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(1) | |
{ | |
calculateDT | |
disaptch inbound packets (you don't pass DT here, instead, this should have a reference to your gamestate object) | |
update accordingly (pass DT HERE) | |
render | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment