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 | |
} |