roboglia.move.Scene

class Scene(name='SCENE', sequences=[], times=1)[source]

Bases: object

A Scene is a collection of Sequence presented in an ordered list.

Parameters
  • name (str) – The name of the Scene

  • sequences (list of Sequence) – The Sequences that make the Scene.

  • times (int) – A repeat counter for playing the list of Sequences when the play() is invoked.

__init__(name='SCENE', sequences=[], times=1)[source]

Initialize self. See help(type(self)) for accurate signature.

property name

The name of the Scene.

property sequences

The list of Sequences in the Scene.

property times

The repetition counter for the Scene.

play()[source]

Performs a Scene. Inherited from StepLoop. Iterates over the Sequences and produces the commands.