Class ServerWorld

  • @Node
    public class ServerWorld
    extends World
    World in which all servers reside. Once a RemoteServer enters here, its properties are set to defaults defined in, i.e portalMesh and portalScript of this object. Properties of other clients (users) are not changed.
    • Constructor Detail

      • ServerWorld

        public ServerWorld()
    • Method Detail

      • enter

        public boolean enter​(Client client,
                             WorldManager wm)
        Description copied from class: World
        Called when client enters the world. It may change some client properties, allow entrance or not, etc.
        enter in class World
        true if client is allowed to enter
      • exit

        public void exit​(Client client,
                         WorldManager wm)
        Description copied from class: World
        Called after client exits the world
        exit in class World
      • getUrl

        public String getUrl()
      • getPortalMesh

        public String getPortalMesh()
      • getPortalThumbnail

        public String getPortalThumbnail()
      • getPortalScript

        public String getPortalScript()
      • getDl

        public double getDl()
      • getK

        public double getK()
      • setUrl

        public void setUrl​(String url)
      • setPortalMesh

        public void setPortalMesh​(String portalMesh)
      • setPortalThumbnail

        public void setPortalThumbnail​(String portalThumbnail)
      • setPortalScript

        public void setPortalScript​(String portalScript)
      • setServerCount

        public void setServerCount​(AtomicInteger serverCount)
      • setDl

        public void setDl​(double dl)
      • setK

        public void setK​(double k)
      • hashCode

        public int hashCode()
        hashCode in class World