|
|||||||||
| Version 1.5 | APIs subject to change! | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmultiverse.server.engine.EnginePlugin
multiverse.server.plugins.MobManagerPlugin
public class MobManagerPlugin
handles perceiver updates, interpolation
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
protected boolean |
askedForPathInfo
|
protected static Logger |
log
|
protected PathInfo |
pathInfo
|
| Fields inherited from interface multiverse.msgsys.MessageCallback |
|---|
NO_FLAGS, RESPONSE_EXPECTED |
| Constructor Summary | |
|---|---|
MobManagerPlugin()
|
|
| Method Summary | |
|---|---|
static ObjectStub |
createObject(java.lang.String templateName,
long instanceOid,
Point loc,
Quaternion orient)
|
static ObjectStub |
createObject(java.lang.String templateName,
long instanceOid,
Point loc,
Quaternion orient,
boolean followsTerrain)
|
static ObjectStub |
createObject(java.lang.String templateName,
Template override,
java.lang.Long instanceOid)
|
PathInfo |
getPathInfo()
|
static java.lang.Class |
getSpawnGeneratorClass(java.lang.String name)
Get a registered spawn generator class. |
static java.util.List<ObjectType> |
getTrackedObjectTypes()
Get the object types to track. |
static ObjectTracker |
getTracker(long instanceOid)
|
void |
onActivate()
for developers extending the EnginePlugin object, it may be easier to use the onActivate() method which gets called when the plugin is being activated by the Engine. |
protected void |
registerHooks()
|
static void |
registerSpawnGeneratorClass(java.lang.String name,
java.lang.Class spawnGenClass)
Register a spawn generator class. |
static void |
removeTracker(long instanceOid)
|
void |
setPathInfo(PathInfo pathInfo)
|
static void |
setTrackedObjectTypes(java.util.Collection<ObjectType> objectTypes)
Set the object types to track. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
protected PathInfo pathInfo
protected boolean askedForPathInfo
| Constructor Detail |
|---|
public MobManagerPlugin()
| Method Detail |
|---|
public void onActivate()
EnginePlugin
onActivate in class EnginePluginprotected void registerHooks()
public static ObjectStub createObject(java.lang.String templateName,
long instanceOid,
Point loc,
Quaternion orient)
public static ObjectStub createObject(java.lang.String templateName,
long instanceOid,
Point loc,
Quaternion orient,
boolean followsTerrain)
public static ObjectStub createObject(java.lang.String templateName,
Template override,
java.lang.Long instanceOid)
public PathInfo getPathInfo()
public void setPathInfo(PathInfo pathInfo)
public static void setTrackedObjectTypes(java.util.Collection<ObjectType> objectTypes)
public static java.util.List<ObjectType> getTrackedObjectTypes()
public static ObjectTracker getTracker(long instanceOid)
public static void removeTracker(long instanceOid)
public static void registerSpawnGeneratorClass(java.lang.String name,
java.lang.Class spawnGenClass)
name - Spawn generator class registered name.spawnGenClass - Spawn generator class, must be a
SpawnGenerator sub-class.public static java.lang.Class getSpawnGeneratorClass(java.lang.String name)
|
Copyright © 2008 The Multiverse Network, Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||