signals
Maintain the signals used by characters for coordination during a lesson.
-
class signals.Signals
Raises and lowers signals.
-
clear()
- Clear all signals. This is done at the beginning of each timetable
period.
-
is_raised(signal)
Return whether a signal is raised.
| Parameter: | signal – The name of the signal to check. |
-
signal(signal)
Raise a signal.
| Parameter: | signal – The name of the signal to raise. |
-
unsignal(signal)
Lower a signal.
| Parameter: | signal – The name of the signal to lower. |
-
signals.ASSEMBLY_FINISHED
- Signal raised by Mr Wacker when he has finished speaking in assembly.
-
signals.SWOT_READY
- Signal raised by the swot when he sits down in a classroom at the start of a
lesson.
-
signals.TIME_FOR_ASSEMBLY
- Signal raised when it’s time for the kids to sit down for assembly.