Used world state for heigh/width

This commit is contained in:
Jeremiah Billmann
2013-07-14 10:57:18 -04:00
parent 08869d878e
commit 2e714b80ce
4 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ function Game (sockets) {
logging: true,
interpolation: true,
clientSidePrediction: true,
smoothingFactor: this.physicsDelta * 20
smoothingFactor: this.physicsDelta * 20,
worldState: { height: '400px', width: '800px' }
});
}