C# Class WarTornLands.Infrastructure.Systems.DialogSystem.ConversationItem

A single screen in a conversation. Contains a text message to tell the player what is happening (item received, world changed) or simply to communicate story informations.
Show file Open project: floAr/WarTornLands Class Usage Examples

Protected Properties

Property Type Description
_owner Entity

Public Methods

Method Description
ConversationItem ( string text ) : System
SetID ( string conID ) : void
SetOwner ( Entity owner ) : void
Trigger ( ) : void

Determines what happens if this line is triggered/shown (give item etc.).

Protected Methods

Method Description
DisplayText ( ) : void

Method Details

ConversationItem() public method

public ConversationItem ( string text ) : System
text string
return System

DisplayText() protected method

protected DisplayText ( ) : void
return void

SetID() public method

public SetID ( string conID ) : void
conID string
return void

SetOwner() public method

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

Trigger() public method

Determines what happens if this line is triggered/shown (give item etc.).
public Trigger ( ) : void
return void

Property Details

_owner protected property

protected Entity _owner
return Entity