Module pacai.ui.capture.gui

Expand source code
from pacai.ui.capture.view import CaptureAbstractView
from pacai.ui.gui import AbstractGUIView

class CaptureGUIView(CaptureAbstractView, AbstractGUIView):
    """
    A GUI view for capture.
    """

    def __init__(self, **kwargs):
        super().__init__(**kwargs)

Classes

class CaptureGUIView (**kwargs)

A GUI view for capture.

Expand source code
class CaptureGUIView(CaptureAbstractView, AbstractGUIView):
    """
    A GUI view for capture.
    """

    def __init__(self, **kwargs):
        super().__init__(**kwargs)

Ancestors

Methods

def finish(self)

Inherited from: CaptureAbstractView.finish

Signal that the game is over and the UI should cleanup.

def getKeyboard(self)

Inherited from: CaptureAbstractView.getKeyboard

For views that support keyboards, get an instance of a pacai.ui.keyboard.Keyboard.

def initialize(self, state)

Inherited from: CaptureAbstractView.initialize

Perform an initial drawing of the view.

def update(self, state, forceDraw=False)

Inherited from: CaptureAbstractView.update

Materialize the view, given a state.