Trying to create a fixed time slice system
This commit is contained in:
@@ -54,10 +54,10 @@ void ServerApplication::Proc() {
|
||||
}
|
||||
}
|
||||
//update the world
|
||||
delta.Calculate();
|
||||
for (auto it : clientMap) {
|
||||
it.second.Update(delta.GetDelta());
|
||||
}
|
||||
//TODO Delta::Calculate();
|
||||
// for (auto it : clientMap) {
|
||||
// it.second.Update(Delta::GetTime());
|
||||
// }
|
||||
|
||||
//handle output...
|
||||
//TODO...
|
||||
|
||||
Reference in New Issue
Block a user