psychos.sound.PlayerGroup#

class psychos.sound.PlayerGroup(players: Iterable[Player])[source]#

Bases: object

Group of players that can be played and paused simultaneously.

Create a player group for the given list of players.

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

__init__(players: Iterable[Player]) None[source]#

Initialize the PlayerGroup with the players.

Methods

__init__(players)

Initialize the PlayerGroup with the players.

pause()

Pause all players in the group simultaneously.

play()

Begin playing all players in the group simultaneously.

pause() None[source]#

Pause all players in the group simultaneously.

play() None[source]#

Begin playing all players in the group simultaneously.