Changeset 200:dc0cc8228e2a


Ignore:
Timestamp:
Sep 3, 2013, 9:16:09 PM (7 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Message:

Fix protagonist physicsers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/protagonist.py

    r179 r200  
    127127        self.form = self.WOLF_FORM
    128128        self._physicsers[self.form].add_to_space()
     129        self.physicser = self._physicsers[self.form]
    129130        self._body.mass = 100
    130131        self._body.velocity_limit = 1000
     
    143144        self.form = self.HUMAN_FORM
    144145        self._physicsers[self.form].add_to_space()
     146        self.physicser = self._physicsers[self.form]
    145147        self._body.mass = 10
    146148        self._body.velocity_limit = 1000
     
    200202        self.renderer = self._renderers[self.render_form]
    201203        self._physicsers[self.form].add_to_space()
     204        self.physicser = self._physicsers[self.form]
    202205
    203206    def toggle_form(self):
Note: See TracChangeset for help on using the changeset viewer.