projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
962a6b6
)
Clear method for layers.
author
Simon Cross
<hodgestar@gmail.com>
Fri, 4 Mar 2016 22:42:11 +0000
(
00:42
+0200)
committer
Simon Cross
<hodgestar@gmail.com>
Fri, 4 Mar 2016 22:42:11 +0000
(
00:42
+0200)
koperkapel/scenes/base.py
patch
|
blob
|
history
diff --git
a/koperkapel/scenes/base.py
b/koperkapel/scenes/base.py
index 47891a6582784613cf4f12ae81415e32be097d53..481850b2533153afa5ccbb12ea090aae5995bcf9 100644
(file)
--- a/
koperkapel/scenes/base.py
+++ b/
koperkapel/scenes/base.py
@@
-129,6
+129,9
@@
class Layer:
self.actors.append(actor)
return actor
+ def clear(self):
+ self.actors.clear()
+
def remove(self, actor):
self.actors.remove(actor)
return actor