Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Jugador.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-10-19 17:29:31 (GMT)
committer flavio <fdanesse@gmail.com>2012-10-19 17:29:31 (GMT)
commit3afe8678a2ab75484cd65473ff8490ff8e45358d (patch)
treec821aaa19a47fe4d7edf2c9d366c9a2e3263a905 /Jugador.py
parentb6da9f85c8ce046a82ff01c5bafc2f901ec62083 (diff)
Que la nave no se salga de la pantalla
Diffstat (limited to 'Jugador.py')
-rw-r--r--Jugador.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/Jugador.py b/Jugador.py
new file mode 100644
index 0000000..8d8342b
--- /dev/null
+++ b/Jugador.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+import os
+import sys
+import random
+
+import pygame
+from pygame.locals import *
+
+from Nave import Nave
+
+class Jugador ():
+
+ def __init__(self, nombre, imagen):
+
+ self.nombre = nombre
+ self.puntos = 0
+ self.nave = Nave(imagen, self)
+ \ No newline at end of file