예제 #1
0
 public void draw(SpriteBatch sb) {
   world.drawFloor(sb);
   for (Player p : connectedPlayers) {
     p.draw(sb);
   }
   localPlayer.draw(sb);
   world.drawWalls(sb);
 }
예제 #2
0
 public void tick(float delta) {
   localPlayer.integrate(delta);
 }