Packagecom.whirled.contrib.platformer.net
Classpublic class SpawnerMessage
InheritanceSpawnerMessage Inheritance BaseGameMessage Inheritance flash.events.Event



Public Properties
 PropertyDefined by
  id : int
SpawnerMessage
  name : String
[read-only]
SpawnerMessage
 InheritedsenderId : int
BaseGameMessage
  spawnId : int
SpawnerMessage
  state : int
SpawnerMessage
Protected Properties
 PropertyDefined by
 Inherited_senderId : int
BaseGameMessage
Public Methods
 MethodDefined by
  
create(state:int, id:int, spawnId:int):SpawnerMessage
[static]
SpawnerMessage
  
fromBytes(bytes:ByteArray):void
SpawnerMessage
 Inherited
fromServer():Boolean
BaseGameMessage
  
toBytes(bytes:ByteArray = null):ByteArray
SpawnerMessage
Public Constants
 ConstantDefined by
  NAME : String = "spawner"
[static]
SpawnerMessage
  SPAWN : int = 1
[static]
SpawnerMessage
Property detail
idproperty
public var id:int
nameproperty 
name:String  [read-only]Implementation
    public function get name():String
spawnIdproperty 
public var spawnId:int
stateproperty 
public var state:int
Method detail
create()method
public static function create(state:int, id:int, spawnId:int):SpawnerMessageParameters
state:int
 
id:int
 
spawnId:int

Returns
SpawnerMessage
fromBytes()method 
public override function fromBytes(bytes:ByteArray):voidParameters
bytes:ByteArray
toBytes()method 
public override function toBytes(bytes:ByteArray = null):ByteArrayParameters
bytes:ByteArray (default = null)

Returns
ByteArray
Constant detail
NAMEconstant
public static const NAME:String = "spawner"
SPAWNconstant 
public static const SPAWN:int = 1