Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pilas/actores/moneda.py
diff options
context:
space:
mode:
Diffstat (limited to 'pilas/actores/moneda.py')
-rw-r--r--pilas/actores/moneda.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/pilas/actores/moneda.py b/pilas/actores/moneda.py
new file mode 100644
index 0000000..b4079b0
--- /dev/null
+++ b/pilas/actores/moneda.py
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+# Pilas engine - A video game framework.
+#
+# Copyright 2010 - Hugo Ruscitti
+# License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
+#
+# Website - http://www.pilas-engine.com.ar
+
+import pilas
+from pilas.actores import Animacion
+
+class Moneda(Animacion):
+ """Representa una moneda con animaciĆ³n.
+
+ >>> moneda = pilas.actores.Moneda()
+
+ .. image:: images/actores/moneda.png
+
+ """
+
+ def __init__(self, x=0, y=0):
+ Animacion.__init__(self, pilas.imagenes.cargar_grilla("moneda.png", 8), ciclica=True, x=x, y=y)