Package scripts :: Script dialoguecontroller :: Class DialogueController
[hide private]
[frames] | no frames]

Class DialogueController

source code

                                       object --+        
                                                |        
        common.listeners.key_listener.KeyListener --+    
                                                    |    
                                       object --+   |    
                                                |   |    
    common.listeners.mouse_listener.MouseListener --+    
                                                    |    
                                       object --+   |    
                                                |   |    
common.listeners.command_listener.CommandListener --+    
                                                    |    
                        controllerbase.ControllerBase --+
                                                        |
                                                       DialogueController

Controller that takes over when a dialogue is started

Instance Methods [hide private]
 
__init__(self, engine, view, model, application)
Constructor
source code
 
startTalk(self, npc) source code
 
pump(self)
This method gets called every frame
source code

Inherited from controllerbase.ControllerBase: onStop, pause, resetMouseCursor, setMouseCursor

Inherited from common.listeners.key_listener.KeyListener: attach, detach, keyPressed, keyReleased

Inherited from common.listeners.mouse_listener.MouseListener: mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMovedDown, mouseWheelMovedUp

Inherited from common.listeners.command_listener.CommandListener: onCommand

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, engine, view, model, application)
(Constructor)

source code 

Constructor

Parameters:
  • engine (fife.Engine) - Instance of the active fife engine
  • view - Instance of a GameSceneView
  • type - scripts.GameSceneView
  • model (scripts.GameModel) - The model that has the current gamestate
  • application (scripts.PARPGApplication) - The application that created this controller
  • settings (fife.extensions.fife_settings.Setting) - The current settings of the application
Overrides: object.__init__

pump(self)

source code 

This method gets called every frame

Overrides: controllerbase.ControllerBase.pump
(inherited documentation)