"This is a pulsating lamp. Its light intensity is variable."),
transform=Multiply(colour=COLOURS["cyan"])),
HelpItem(("48", "spotlight.png"), (
- "This is a spotlight. Unlike a lamp, it has a rotating beam."
+ "This is a spotlight. Unlike a lamp, it has a beam which is"
+ " pointed in a particular direction. To change the direction of"
+ " a beam, right-click near the spotlight and drag. You can only"
+ " do this during the day. Some spotlights rotate."),
+ transform=Multiply(colour=COLOURS["red"])),
+ HelpItem(("48", "lamp.png"), (
" Lights can be multicoloured, like this one. You can toggle"
" lights on and off at night to conserve power, and toggle the"
" colour of multicoloured lights."),
height = 50
x_offset = SCREEN_SIZE[0] / 2
+ for tool in self._tools:
+ tool.render(surface)
+
def event(self, ev, gamestate):
if ev.type == pgl.KEYDOWN:
if ev.key in (pgl.K_q, pgl.K_ESCAPE):