Module dialogue_demo :: Class MockPlayerCharacter
[hide private]
[frames] | no frames]

Class MockPlayerCharacter

source code

object --+
         |
        MockPlayerCharacter

Mock object representing the player character.

Instance Methods [hide private]
 
__init__(self)
Initialize a new MockPlayerCharacter instance.
source code
 
meet(self, npc_id)
Add an NPC to the list of NPCs known by the player.
source code
 
met(self, npc) 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)
(Constructor)

source code 

Initialize a new MockPlayerCharacter instance.

Overrides: object.__init__

meet(self, npc_id)

source code 

Add an NPC to the list of NPCs known by the player.

Parameters:
  • npc (str) - ID of the NPC to add.