Shorter hints, which mean more space for actions in the tutorial
[naja.git] / naja / widgets / robot.py
index 2eeb1d39cd2d663d514989a17a4e6557e9e7a80b..09fd099f0a258d7d5136d590318512b4f7ca72f9 100644 (file)
@@ -1,18 +1,16 @@
 """Widget to draw the player on the screen"""
 
-import pygame.locals as pgl
-
 from naja.constants import (PLAYER_SIZE, BIT_SIZE, TILE_SIZE, BITS)
-from naja.events import finish_event
 from naja.resources import resources
 from naja.resources.mutators import EIGHT_BIT
 from naja.widgets.base import Widget
 
 IMG_MAP = {
-        BITS.CYAN: 'board/robot_cyan.png',
-        BITS.YELLOW: 'board/robot_yellow.png',
-        BITS.MAGENTA: 'board/robot_magenta.png',
-        }
+    BITS.MSB: 'board/robot_msb.png',
+    BITS.RED: 'board/robot_red.png',
+    BITS.GREEN: 'board/robot_green.png',
+    BITS.BLUE: 'board/robot_blue.png',
+}
 
 
 class RobotWidget(Widget):