Ignore:
Timestamp:
09/07/13 20:09:53 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Rebase:
66626562313032636163366465366362623737316463326561623861353037326138633035313439
Message:

Rename "bulkhead" to "hatch".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/render.py

    r521 r558  
    4848
    4949
    50 class BulkheadRenderer(Renderer):
    51     def draw_bulkhead_line(self, surface, a, b):
     50class HatchRenderer(Renderer):
     51    def draw_hatch_line(self, surface, a, b):
    5252        ai, bi = extend_line(a, b, -2)
    5353        a, b, ai, bi = points_to_pygame(surface, (a, b, ai, bi))
     
    6363            ai = shape.a + offset
    6464            bi = shape.b - offset
    65             self.draw_bulkhead_line(surface, shape.a, ai)
    66             self.draw_bulkhead_line(surface, bi, shape.b)
     65            self.draw_hatch_line(surface, shape.a, ai)
     66            self.draw_hatch_line(surface, bi, shape.b)
    6767        else:
    6868            mid = shape.a + (shape.b - shape.a) / 2
    69             self.draw_bulkhead_line(surface, shape.a, mid)
    70             self.draw_bulkhead_line(surface, mid, shape.b)
     69            self.draw_hatch_line(surface, shape.a, mid)
     70            self.draw_hatch_line(surface, mid, shape.b)
    7171
    7272
Note: See TracChangeset for help on using the changeset viewer.