PlayerGroup Class

Inheritance diagram of PlayerGroup

class PlayerGroup(players)

Group of players that can be played and paused simultaneously.

Variables:players – Players in this group.

Constructor:

__init__(players)

Create a player group for the given set of players.

All players in the group must currently not belong to any other group.

Parameters:players (Sequence of Player) – Players to add to this group.

Methods:

pause() Pause all players in the group simultaneously.
play() Begin playing all players in the group simultaneously.

Methods

PlayerGroup.pause()

Pause all players in the group simultaneously.

PlayerGroup.play()

Begin playing all players in the group simultaneously.

Table Of Contents

Previous topic

Player Class

Next topic

RIFFSourceLoader Class