SpaceNLasers
Public Member Functions | Public Attributes | List of all members
gamemodes.Lobby.Target Class Reference

Target which changes color randomly. More...

Inheritance diagram for gamemodes.Lobby.Target:
Inheritance graph
[legend]
Collaboration diagram for gamemodes.Lobby.Target:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, hwTarget, gameModeMaster)
 
def Hit (self, event)
 
def Update (self, dt)
 
- Public Member Functions inherited from lib.Target.Target
def __init__ (self, hwTarget)
 
def Hit (self, event)
 Called from game engine when this target has been hit. More...
 
def CollectSerialBuffer (self)
 Return a list of all buffered bus commands. More...
 
def Update (self, dt)
 Do game mode specific stuff. More...
 
def SetColor (self, color)
 Write new color command for target to the target queue. More...
 
def Effect (self, name, args)
 Put effect to the target queue. More...
 

Public Attributes

 gameModeMaster
 
 countdownTimer
 
- Public Attributes inherited from lib.Target.Target
 hardwareTarget
 
 buffer
 

Detailed Description

Target which changes color randomly.

Constructor & Destructor Documentation

def gamemodes.Lobby.Target.__init__ (   self,
  hwTarget,
  gameModeMaster 
)

Member Function Documentation

def gamemodes.Lobby.Target.Hit (   self,
  event 
)
def gamemodes.Lobby.Target.Update (   self,
  dt 
)

Member Data Documentation

gamemodes.Lobby.Target.countdownTimer
gamemodes.Lobby.Target.gameModeMaster

The documentation for this class was generated from the following file: