Atavism Version 2018.1AGIS API

atavism.server.objects
Class World

java.lang.Object
  extended by atavism.server.objects.World

public class World
extends java.lang.Object

properties for the world object and its behavior


Field Summary
static OID DEBUG_OID
           
static java.lang.Boolean FollowsTerrainOverride
          temporarily used to override whether the player follows terrain
static int perceiverRadius
           
 
Method Summary
static void addTheme(java.lang.String theme)
          used to set the UI theme for the game.
static void clearThemes()
          removes all themes
static PermissionFactory getDefaultPermission()
           
static Geometry getGeometry()
           
static Geometry getLocalGeometry()
           
static int getLocTolerance()
          sets the max location diff between server & client before server forces reset of client loc
static java.util.List<java.lang.String> getThemes()
           
static void setDefaultPermission(PermissionFactory factory)
           
static void setGeometry(Geometry g)
          sets the world geometry - the quad tree will be 'this' big
static void setLocalGeometry(Geometry g)
           
static void setLocTolerance(int dist)
          returns the max location diff between server & client before server forces reset of client loc
static void setTheme(java.lang.String theme)
          replaces any existing themes set with the passed in theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_OID

public static OID DEBUG_OID

FollowsTerrainOverride

public static java.lang.Boolean FollowsTerrainOverride
temporarily used to override whether the player follows terrain


perceiverRadius

public static int perceiverRadius
Method Detail

setGeometry

public static void setGeometry(Geometry g)
sets the world geometry - the quad tree will be 'this' big


getGeometry

public static Geometry getGeometry()

setLocalGeometry

public static void setLocalGeometry(Geometry g)

getLocalGeometry

public static Geometry getLocalGeometry()

addTheme

public static void addTheme(java.lang.String theme)
used to set the UI theme for the game. the server sends this list of UI elements over to the client when a new player logs in. see the UI Theme event in the protocol


setTheme

public static void setTheme(java.lang.String theme)
replaces any existing themes set with the passed in theme.


clearThemes

public static void clearThemes()
removes all themes


getThemes

public static java.util.List<java.lang.String> getThemes()

setLocTolerance

public static void setLocTolerance(int dist)
returns the max location diff between server & client before server forces reset of client loc


getLocTolerance

public static int getLocTolerance()
sets the max location diff between server & client before server forces reset of client loc


setDefaultPermission

public static void setDefaultPermission(PermissionFactory factory)

getDefaultPermission

public static PermissionFactory getDefaultPermission()


Copyright © 2018 Dragonsan Studios Sp. z o.o.