/** * Fix avatar's position in the middle of the screen and Z-Order * * @param av */ public void glueAvatarToOrigin(final Avatar av) { av.setScreenPos( origin.getDcX() - dX, (origin.getDcY() - dY) + dL, origin.getDcZ(), Layers.CHARS); }
/** * Fix avatar's position in the middle of the screen and Z-Order * * @param av */ public void glueAvatarToOrigin(@Nonnull Avatar av) { av.setScreenPos(origin.getDcX() - dX, (origin.getDcY() - dY) + dL, origin.getDcZ()); }