remove server from client
This commit is contained in:
parent
19f3813338
commit
7cdff9220a
18 changed files with 352 additions and 1216 deletions
|
@ -1,7 +1,5 @@
|
|||
package game.util;
|
||||
|
||||
import game.window.Window;
|
||||
|
||||
public enum PerfSection {
|
||||
TIMING("Timing"),
|
||||
INPUT("Input"),
|
||||
|
@ -29,7 +27,7 @@ public enum PerfSection {
|
|||
}
|
||||
|
||||
public void enter() {
|
||||
this.time = Window.getTime();
|
||||
this.time = Util.getTime();
|
||||
if(section != null)
|
||||
section.last[swap] = section.time = this.time - section.time;
|
||||
section = this;
|
||||
|
@ -44,7 +42,7 @@ public enum PerfSection {
|
|||
}
|
||||
|
||||
public static void swap() {
|
||||
long current = Window.getTime();
|
||||
long current = Util.getTime();
|
||||
total = current - start;
|
||||
start = current;
|
||||
swap ^= 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue