Package scripts :: Script parpg :: Class PARPGApplication
[hide private]
[frames] | no frames]

Class PARPGApplication

source code

fife.extensions.basicapplication.ApplicationBase --+
                                                   |
                                                  PARPGApplication

Main Application class We use an MVC model model self.gamesceneview is our view,self.model is our model self.controller is the controller

Instance Methods [hide private]
 
__init__(self, setting)
Initialise the instance.
source code
 
createListener(self)
Returns: None
source code
 
pushController(self, controller)
Adds a controller to the list to be the current active one.
source code
 
popController(self)
Removes and returns the current active controller, unless its the last one
source code
 
switchController(self, controller)
Clears the controller list and adds a controller to be the current active one
source code
 
_pump(self)
Main game loop.
source code
Method Details [hide private]

__init__(self, setting)
(Constructor)

source code 

Initialise the instance.

Returns:
None

createListener(self)

source code 
Returns:
None

_pump(self)

source code 

Main game loop. There are in fact 2 main loops, this one and the one in GameSceneView.

Returns:
None