Changeset 230:a3db94687ce2 for nagslang


Ignore:
Timestamp:
Sep 4, 2013, 4:41:06 PM (7 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Message:

Remove unused stuff.

Location:
nagslang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nagslang/protagonist.py

    r229 r230  
    22import pymunk.pygame_util
    33from pymunk.vec2d import Vec2d
    4 
    5 import math
    64
    75from nagslang import render
  • nagslang/render.py

    r229 r230  
    4545
    4646class ImageRenderer(Renderer):
    47     rotate = True  # Set to `False` to suppress image rotation.
    48 
    4947    def __init__(self, image):
    5048        self._image = image
     
    5452
    5553    def rotate_image(self, image):
    56         if not self.rotate:
    57             return image
    5854        angle = self.game_object.get_render_angle() * 180 / math.pi
    5955        return pygame.transform.rotate(image, angle)
Note: See TracChangeset for help on using the changeset viewer.