X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Frobot.py;h=2fa0d11a178b3dca09f2353ee42d0c658b25172a;hb=1521f5cdb98df760ed59746901bfbc212c7466a4;hp=2eeb1d39cd2d663d514989a17a4e6557e9e7a80b;hpb=0bd160dc700e55e996a1ad89e9daf6cdc00c88d8;p=naja.git diff --git a/naja/widgets/robot.py b/naja/widgets/robot.py index 2eeb1d3..2fa0d11 100644 --- a/naja/widgets/robot.py +++ b/naja/widgets/robot.py @@ -1,18 +1,15 @@ """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.RED: 'board/robot_red.png', + BITS.GREEN: 'board/robot_green.png', + BITS.BLUE: 'board/robot_blue.png', +} class RobotWidget(Widget):