Packagecom.whirled.avrg
Classpublic class MobSubControlServer
InheritanceMobSubControlServer Inheritance MobSubControlBase Inheritance AbstractSubControl Inheritance AbstractControl Inheritance flash.events.EventDispatcher

Provides the server agent with a means of controlling a previously spawned MOB.

See also

AVRServerGameControl.spawnMob()
RoomSubControlBase.mobControlAvailable
RoomSubControlServer.getMobSubControl()
http://wiki.whirled.com/Mobs


Public Methods
 MethodDefined by
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener.
AbstractControl
 Inherited
doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server together.
AbstractSubControl
 Inherited
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just loaded up our SWF by itself?
AbstractSubControl
  
moveTo(x:Number, y:Number, z:Number):void
Moves the mob to a new place in room coordinates.
MobSubControlServer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
AbstractControl
Events
 EventSummaryDefined by
 Inherited Dispatched when the location or orientation of a MOB changes.MobSubControlBase
 Inherited Event.UNLOAD Dispatched when the SWF using this control has been unloaded.AbstractControl
Method detail
moveTo()method
public function moveTo(x:Number, y:Number, z:Number):void

Moves the mob to a new place in room coordinates.

Parameters
x:Number
 
y:Number
 
z:Number

See also