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

class Ejes(Actor):
    """Representa el eje de coordenadas tomado como sistema de referencia.

    Este actor es útil para mostrar que la ventana
    de pilas tiene una referencia, y que las posiciones
    responden a este modelo.

    Para crear el eje podrías ejecutar:

        >>> eje = pilas.actore.Eje()

    """

    def __init__(self, x=0, y=0):
        Actor.__init__(self, "ejes.png", x=x, y=y)
        self.z = 100