Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pilas/actores/estrella.py
blob: 019b57e148c28fa8e562f411eae1bde6fc0ab70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- 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

from pilas.actores import Actor
import pilas


class Estrella(Actor):
    "Representa una estrella de color amarillo."

    def __init__(self, x=0, y=0):
        imagen = pilas.imagenes.cargar('estrella.png')
        Actor.__init__(self, imagen, x=x, y=y)
        self.rotacion = 0