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