C# Class WarTornLands.Entities.Modules.Interact.Dialog

Inheritance: BaseModule, IInteractModule
Mostrar archivo Open project: floAr/WarTornLands

Public Methods

Method Description
Dialog ( DataRow data ) : System
Dialog ( List conversations, int cooldown = 2000 ) : System
Interact ( System.Entity user ) : void
SetNewDefault ( string newDefaultID, string calledByID ) : void

Sets the new default conversation. See @class ComboBreaker for more information. This method should only be called by ConversationItems

SetOwner ( System.Entity owner ) : void
ShutDown ( ) : void

Deactivates this instance. This method should only be called by ConversationItems

Update ( GameTime gameTime ) : void

Private Methods

Method Description
ComboBreakerFromData ( DataRow data ) : ComboBreaker
ItemContainerFromData ( DataRow data ) : ItemContainer
OnBang ( object sender, BangEventArgs e ) : void
OnEnter ( object sender, EventArgs e ) : void
ReadConversations ( DataSet data ) : List
TextLineAndEventFromData ( DataRow data ) : TextLineAndEvent
TextLineFromData ( DataRow data ) : TextLine

Method Details

Dialog() public method

public Dialog ( DataRow data ) : System
data System.Data.DataRow
return System

Dialog() public method

public Dialog ( List conversations, int cooldown = 2000 ) : System
conversations List
cooldown int
return System

Interact() public method

public Interact ( System.Entity user ) : void
user System.Entity
return void

SetNewDefault() public method

Sets the new default conversation. See @class ComboBreaker for more information. This method should only be called by ConversationItems
public SetNewDefault ( string newDefaultID, string calledByID ) : void
newDefaultID string The new default ID.
calledByID string
return void

SetOwner() public method

public SetOwner ( System.Entity owner ) : void
owner System.Entity
return void

ShutDown() public method

Deactivates this instance. This method should only be called by ConversationItems
public ShutDown ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void