Ignore:
Timestamp:
02/03/10 13:21:45 (10 years ago)
Author:
maximinus_parpg
Message:

More clean up of the code.
Finshed first pass.
So should be at least stands compliant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/objects/doors.py

    r373 r477  
    2323 
    2424class ShantyDoor(Door): 
    25     def __init__ (self, ID, name = 'Shanty Door', \ 
    26             text = 'A door', gfx = 'shanty-door', target_map_name = 'my-map', \ 
    27             target_map = 'map.xml', target_x = 0.0, target_y = 0.0,\ 
    28             **kwargs): 
    29         Door.__init__(self, ID = ID, name = name, text = text, gfx = gfx, \ 
    30             target_map_name = target_map_name, target_map = target_map, \ 
    31             target_x = target_x, target_y = target_y, **kwargs) 
    32  
     25    def __init__ (self, ID, name = 'Shanty Door', text = 'A door', 
     26                   gfx = 'shanty-door', target_map_name = 'my-map', 
     27                   target_map = 'map.xml', target_x = 0.0, 
     28                   target_y = 0.0, **kwargs): 
     29        Door.__init__(self, ID = ID, name = name, text = text, gfx = gfx, 
     30                      target_map_name = target_map_name, 
     31                      target_map = target_map, target_x = target_x, 
     32                      target_y = target_y, **kwargs) 
Note: See TracChangeset for help on using the changeset viewer.