Module pacai.ui.capture.null
Expand source code
from pacai.ui.capture.view import CaptureAbstractView
from pacai.ui.null import AbstractNullView
class CaptureNullView(AbstractNullView, CaptureAbstractView):
"""
A null view for capture.
"""
def __init__(self, **kwargs):
super().__init__(**kwargs)
Classes
class CaptureNullView (**kwargs)
-
A null view for capture.
Expand source code
class CaptureNullView(AbstractNullView, CaptureAbstractView): """ A null view for capture. """ def __init__(self, **kwargs): super().__init__(**kwargs)
Ancestors
Methods
def finish(self)
-
Inherited from:
AbstractNullView
.finish
Signal that the game is over and the UI should cleanup.
def getKeyboard(self)
-
Inherited from:
AbstractNullView
.getKeyboard
For views that support keyboards, get an instance of a pacai.ui.keyboard.Keyboard.
def initialize(self, state)
-
Inherited from:
AbstractNullView
.initialize
Perform an initial drawing of the view.
def update(self, state, forceDraw=False)
-
Inherited from:
AbstractNullView
.update
Materialize the view, given a state.