C# Class NFrame.NFCActor

Inheritance: NFIActor
Show file Open project: ketoo/NFrame Class Usage Examples

Public Methods

Method Description
AddComponent ( Type xType ) : bool
Execute ( ) : void
ExecuteAsync ( object x ) : void
GetAddress ( ) : NFGUID
GetComponent ( Type xType ) : NFBehaviour
GetNumQueuedMessages ( ) : int
NFCActor ( NFGUID xID, NFIActorMng xActorMng ) : System
PushMessages ( NFGUID from, NFIActorMessage xMessage ) : bool
RegisterHandler ( Handler handler ) : bool

Private Methods

Method Description
GetActorMng ( ) : NFIActorMng
ProcessMessageSyns ( NFIActorMessage xMessage ) : void
TaskMethodSync ( object param ) : void

Method Details

AddComponent() public method

public AddComponent ( Type xType ) : bool
xType System.Type
return bool

Execute() public method

public Execute ( ) : void
return void

ExecuteAsync() public static method

public static ExecuteAsync ( object x ) : void
x object
return void

GetAddress() public method

public GetAddress ( ) : NFGUID
return NFGUID

GetComponent() public method

public GetComponent ( Type xType ) : NFBehaviour
xType System.Type
return NFBehaviour

GetNumQueuedMessages() public method

public GetNumQueuedMessages ( ) : int
return int

NFCActor() public method

public NFCActor ( NFGUID xID, NFIActorMng xActorMng ) : System
xID NFGUID
xActorMng NFIActorMng
return System

PushMessages() public method

public PushMessages ( NFGUID from, NFIActorMessage xMessage ) : bool
from NFGUID
xMessage NFIActorMessage
return bool

RegisterHandler() public method

public RegisterHandler ( Handler handler ) : bool
handler Handler
return bool