Package svs_demogame :: Module gamelogicviews :: Class GameLogicView
[show private | hide private]
[frames | no frames]

Class GameLogicView


Displays data about changes in game logic.
Method Summary
  __init__(self, parent, context)
  build(self, parent)
Builds view components.
  setCurrentTimeLabel(self, timeFloat)
Sets display for current time label.
  setNameLabel(self, text)
Sets displayed text for name label.
  setPlayTimeLabel(self, timeFloat)
Sets displayed text for play time label.
  setStartTimeLabel(self, timeFloat)
Sets displayed text for start time label.
  startGame(self)
Shows game has started.
  stopGame(self)
Shows game has stopped.
  updateDisplay(self, currentTime)
Updates displayed information.

Method Details

build(self, parent)

Builds view components.

setCurrentTimeLabel(self, timeFloat)

Sets display for current time label.
Parameters:
timeFloat
           (type=float)

setNameLabel(self, text)

Sets displayed text for name label.

setPlayTimeLabel(self, timeFloat)

Sets displayed text for play time label.
Parameters:
timeFloat
           (type=float)

setStartTimeLabel(self, timeFloat)

Sets displayed text for start time label.
Parameters:
timeFloat
           (type=float)

startGame(self)

Shows game has started.

stopGame(self)

Shows game has stopped.

updateDisplay(self, currentTime)

Updates displayed information.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:29 2005 http://epydoc.sf.net