Ignore:
Timestamp:
09/02/13 14:43:15 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Rearrange game objects a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/protagonist.py

    r107 r123  
    5454        self._renderers = {
    5555            self.HUMAN_FORM: FacingImageRenderer(
    56                 self._shapes[self.HUMAN_FORM],
    5756                self._get_image('human_1.png'),
    5857                self._get_image('human_1.png', FLIP_H)),
    5958            self.WOLF_FORM: FacingImageRenderer(
    60                 self._shapes[self.WOLF_FORM],
    6159                self._get_image('werewolf_1.png'),
    6260                self._get_image('werewolf_1.png', FLIP_H)),
    6361        }
     62        for renderer in self._renderers.values():
     63            renderer.set_game_object(self)
    6464
    6565    @classmethod
Note: See TracChangeset for help on using the changeset viewer.