SpaceNLasers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lib.CountdownTimer.CountdownTimer Class Reference

Class to manage delayed actions similar to setTimeout in JS. More...

Inheritance diagram for lib.CountdownTimer.CountdownTimer:
Inheritance graph
[legend]
Collaboration diagram for lib.CountdownTimer.CountdownTimer:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def Update (self, dt)
 

Static Public Member Functions

def Add (action, time, kwargs)
 
def UpdateAll (dt)
 
def Remove (obj)
 
def Clear ()
 

Public Attributes

 action
 
 time
 
 done
 
 originalTime
 

Detailed Description

Class to manage delayed actions similar to setTimeout in JS.

Constructor & Destructor Documentation

def lib.CountdownTimer.CountdownTimer.__init__ (   self,
  action,
  time,
  loop = False 
)

Member Function Documentation

def lib.CountdownTimer.CountdownTimer.Add (   action,
  time,
  kwargs 
)
static
def lib.CountdownTimer.CountdownTimer.Clear ( )
static
def lib.CountdownTimer.CountdownTimer.Remove (   obj)
static
def lib.CountdownTimer.CountdownTimer.Update (   self,
  dt 
)
def lib.CountdownTimer.CountdownTimer.UpdateAll (   dt)
static

Member Data Documentation

lib.CountdownTimer.CountdownTimer.action
lib.CountdownTimer.CountdownTimer.done
lib.CountdownTimer.CountdownTimer.originalTime
lib.CountdownTimer.CountdownTimer.time

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