comparison nagslang/game_object.py @ 551:766472b5c9a6

Apologetic comment.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 07 Sep 2013 21:54:34 +0200
parents b0c5f032eb9d
children 4abf8cf717e9
comparison
equal deleted inserted replaced
550:1bf96dd0c455 551:766472b5c9a6
479 ("destination", "level name"), ("dest_pos", "coordinate"), 479 ("destination", "level name"), ("dest_pos", "coordinate"),
480 ("angle", "degrees"), ("key_item", "item name")] 480 ("angle", "degrees"), ("key_item", "item name")]
481 481
482 482
483 class Bulkhead(GameObject): 483 class Bulkhead(GameObject):
484 # Yes, I know this should be "hatch" instead of "bulkhead". It was late and
485 # I was tired and the search/replace would touch *everything* now.
484 zorder = ZORDER_FLOOR 486 zorder = ZORDER_FLOOR
485 487
486 def __init__(self, space, end1, end2, key_state=None): 488 def __init__(self, space, end1, end2, key_state=None):
487 body = make_body(None, None, (0, 0)) 489 body = make_body(None, None, (0, 0))
488 self.shape = pymunk.Segment(body, tuple(end1), tuple(end2), 7) 490 self.shape = pymunk.Segment(body, tuple(end1), tuple(end2), 7)