hugoruscitti/pilas

View on GitHub
pilasengine/simbolos.py

Summary

Maintainability
A
2 hrs
Test Coverage
# -*- encoding: utf-8 -*-
# pilas engine: un motor para hacer videojuegos
#
# Copyright 2010-2014 - Hugo Ruscitti
# License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
#
# Website - http://www.pilas-engine.com.ar
from PyQt4 import QtCore


class Simbolos(object):

    def __init__(self, pilas):
        self.pilas = pilas

        self.IZQUIERDA = 1
        self.DERECHA = 2
        self.ARRIBA = 3
        self.ABAJO = 4
        self.BOTON = 5
        self.SELECCION = 6
        self.ESPACIO = 32
        self.CTRL=17
        self.ALTGR=19
        self.ALT=18
        self.SHIFT=16
        self.CAPSLOCK=20

        self.F1='F1'
        self.F2='F2'
        self.F3='F3'
        self.F4='F4'
        self.F5='F5'
        self.F6='F6'
        self.F7='F7'
        self.F8='F8'
        self.F9='F9'
        self.F10='F10'
        self.F11='F11'
        self.F12='F12'

        self.a='a'
        self.b='b'
        self.c='c'
        self.d='d'
        self.e='e'
        self.f='f'
        self.g='g'
        self.h='h'
        self.i='i'
        self.j='j'
        self.k='k'
        self.l='l'
        self.m='m'
        self.n='n'
        self.o='o'
        self.p='p'
        self.q='q'
        self.r='r'
        self.s='s'
        self.t='t'
        self.u='u'
        self.v='v'
        self.w='w'
        self.x='x'
        self.y='y'
        self.z='z'