direct.showbase.EventGroup

from direct.showbase.EventGroup import EventGroup

This module defines the EventGroup class.

Inheritance diagram

digraph inheritancedc52c86446 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "EventGroup" [URL="direct.showbase.EventGroup.html#direct.showbase.EventGroup.EventGroup",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This class allows you to group together multiple events and treat"]; "DirectObject" -> "EventGroup" [arrowsize=0.75,style=""]; }
class EventGroup(name, subEvents=None, doneEvent=None)[source]

Bases: DirectObject

This class allows you to group together multiple events and treat them as a single event. The EventGroup will not send out its event until all of its sub-events have occured.