コード例 #1
0
 public void stillGraphics(Client curPlr, int absX, int absY, int heightLevel, int id, int pause) {
   for (Player p : Server.getPlayerManager().getClientRegion((curPlr).currentRegion)) {
     if (p == null) continue;
     if (!p.isActive) continue;
     if (p.disconnected) continue;
     Client c = (Client) p;
     if (c == curPlr || c.withinDistance(absX, absY, heightLevel)) {
       c.getPA().sendStillGraphics(id, heightLevel, absY, absX, pause);
     }
   }
 }