Formatting

This commit is contained in:
Jeremiah Billmann
2013-07-09 21:25:11 -04:00
parent a31865142c
commit 10e20936db
+7 -7
View File
@@ -19,15 +19,15 @@ $(function () {
ctxCanvas.clearRect(0, 0, canvas.width, canvas.height);
GarageServerIO.getStates(function (selfState, playerStates, entityStates) {
playerStates.forEach(function (player) {
ctxCanvas.fillRect(player.currentState.x, player.currentState.y, 15, 15);
});
playerStates.forEach(function (player) {
ctxCanvas.fillRect(player.currentState.x, player.currentState.y, 15, 15);
});
entityStates.forEach(function (entity) {
ctxCanvas.fillRect(entity.currentState.x, entity.currentState.y, 15, 15);
});
entityStates.forEach(function (entity) {
ctxCanvas.fillRect(entity.currentState.x, entity.currentState.y, 15, 15);
});
ctxCanvas.fillRect(selfState.x, selfState.y, 15, 15);
ctxCanvas.fillRect(selfState.x, selfState.y, 15, 15);
});
},
//Update Loop