Changeset 264:c1d862334e3d


Ignore:
Timestamp:
Sep 4, 2013, 10:39:55 PM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

PEP8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/game_object.py

    r263 r264  
    245245            body, [(-4, -30), (4, -30), (4, 30), (-4, 30)])
    246246        self.shape.collision_type = COLLISION_TYPE_DOOR
    247         self.shape.body.angle = float(angle)/180 * math.pi
     247        self.shape.body.angle = float(angle) / 180 * math.pi
    248248        self.shape.sensor = True
    249249        self.destination = destination
Note: See TracChangeset for help on using the changeset viewer.