Changed client side update calllback

This commit is contained in:
Jeremiah Billmann
2013-07-23 14:49:03 -04:00
parent 2b6a9bcb96
commit f45cbb1119
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ $(function () {
GarageServerIO.initializeGarageServer('http://garageserver_io.jbillmann.c9.io', {
logging: true,
onReady: startGame,
onUpdatePlayerPhysics: GamePhysics.getNewPlayerState,
onUpdatePlayerPrediction: GamePhysics.getNewPlayerState,
onInterpolation: GamePhysics.getInterpolatedState,
onWorldState: function (state) {
document.getElementById('gameCanvas').style.width = state.width + 'px';