Пример #1
0
 public int drawLine(final Graphics render, int idx) {
   int animation;
   if (ctx.game.isLoggedIn()) {
     animation = ctx.players.getMyPlayer().getAnimation();
   } else {
     animation = -1;
   }
   StringUtil.drawLine(render, idx++, "Animation " + animation);
   return idx;
 }
Пример #2
0
 public int drawLine(final Graphics render, int idx) {
   final int floor = game.getPlane();
   StringUtil.drawLine(render, idx++, "Floor " + floor);
   return idx;
 }