Panda3D
Public Member Functions | List of all members
DelayedFunctor Class Reference

Public Member Functions

def __init__ (self, functor, name=None, delay=None)
 
def __call__ (self, *args, **kwArgs)
 

Detailed Description

Waits for this object to be called, then calls supplied functor after a delay.
Effectively inserts a time delay between the caller and the functor. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  functor,
  name = None,
  delay = None 
)

Member Function Documentation

◆ __call__()

def __call__ (   self,
args,
**  kwArgs 
)