Package parpg :: Module dialogue :: Class DialogueNode
[hide private]
[frames] | no frames]

Class DialogueNode

source code

object --+
         |
        DialogueNode
Known Subclasses:

Abstract base class that represents a node or related group of attributes within a Dialogue.

Instance Methods [hide private]
 
__init__(self, text, actions=None)
Initialize a new DialogueNode instance.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, text, actions=None)
(Constructor)

source code 

Initialize a new DialogueNode instance.

Parameters:
  • text (basestring) - textual content of the DialogueNode.
  • actions (list of DialogueActions) - dialogue actions associated with the DialogueNode.
Overrides: object.__init__