Packagecom.whirled.avrg
Classpublic class MobSubControlBase
InheritanceMobSubControlBase Inheritance AbstractSubControl Inheritance AbstractControl Inheritance flash.events.EventDispatcher
SubclassesMobSubControlClient, MobSubControlServer

Provides a means of accessing and controlling a previously spawned MOB.

See also

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


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
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
AbstractControl
Events
 EventSummaryDefined by
   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
Event detail
mobAppearanceChangedevent 
Event object type: com.whirled.avrg.AVRGameControlEvent
AVRGameControlEvent.type property = com.whirled.avrg.AVRGameControlEvent.MOB_APPEARANCE_CHANGED

Dispatched when the location or orientation of a MOB changes.

An event type dispatched when a spawned MOB has changed appearance.
name - not used
value - not used