projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
variable name oops
[tabakrolletjie.git]
/
tabakrolletjie
/
lights.py
diff --git
a/tabakrolletjie/lights.py
b/tabakrolletjie/lights.py
index f0ec535577d644d556c31cbe636ea3c4749afb0d..f1a69d69cdba4540cea2788a893bea63226c66e3 100644
(file)
--- a/
tabakrolletjie/lights.py
+++ b/
tabakrolletjie/lights.py
@@
-203,7
+203,7
@@
class BaseLight(object):
def get_image(self):
if self._image is None:
def get_image(self):
if self._image is None:
- self._image = loader.load_image("64", self.FITTING).copy()
+ self._image = loader.load_image("64", self.FITTING
_IMG
).copy()
fitting_colour = self.COLOURS[self.colour]
self._image.fill(fitting_colour, None, pgl.BLEND_RGBA_MULT)
return self._image
fitting_colour = self.COLOURS[self.colour]
self._image.fill(fitting_colour, None, pgl.BLEND_RGBA_MULT)
return self._image
@@
-217,7
+217,7
@@
class BaseLight(object):
class SpotLight(BaseLight):
class SpotLight(BaseLight):
- FITTING = "spotlight.png"
+ FITTING
_IMG
= "spotlight.png"
def __init__(self, **kw):
kw.pop("direction", None)
def __init__(self, **kw):
kw.pop("direction", None)