C# Class Sharplike.Mapping.Entities.AbstractEntity

Inheritance: IGlyphProvider, IMessageReceiver, IDisposable, IPageCallbacker
Mostrar archivo Open project: eropple/sharplike Class Usage Examples

Public Properties

Property Type Description
MessageHandler Sharplike.Core.Messaging.MessageHandler

Public Methods

Method Description
AbstractEntity ( ) : System
AssertArgumentTypes ( Message msg ) : void
Dispose ( ) : void
Move ( Direction dir ) : bool

Thread Safe. Makes an entity walk along the map world in a given direction. This function will respect the passable state of the target map square.

OnMessage ( Message msg ) : void

Private Methods

Method Description
Message_Move ( Message msg ) : void
Message_Ping ( Message msg ) : void
Message_Reposition ( Message msg ) : void

Method Details

AbstractEntity() public method

public AbstractEntity ( ) : System
return System

AssertArgumentTypes() public method

public AssertArgumentTypes ( Message msg ) : void
msg Sharplike.Core.Messaging.Message
return void

Dispose() public method

public Dispose ( ) : void
return void

Move() public method

Thread Safe. Makes an entity walk along the map world in a given direction. This function will respect the passable state of the target map square.
public Move ( Direction dir ) : bool
dir Direction The direction to walk in.
return bool

OnMessage() public method

public OnMessage ( Message msg ) : void
msg Sharplike.Core.Messaging.Message
return void

Property Details

MessageHandler public_oe property

public MessageHandler,Sharplike.Core.Messaging MessageHandler
return Sharplike.Core.Messaging.MessageHandler