Ignore:
Timestamp:
09/03/13 21:27:25 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
63623463393338663838326136643963333235663133626461393565376633313739626334343735
Message:

Break puzzlers out of game_object.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/level.py

    r197 r201  
    44from nagslang import game_object as go
    55from nagslang import enemies
     6from nagslang import puzzle
    67from nagslang.resources import resources
    78from nagslang.yamlish import load, dump
     
    3334        self._surface = None
    3435        self._exterior = False
    35         self._glue = go.PuzzleGlue()
     36        self._glue = puzzle.PuzzleGlue()
    3637        self.drawables = []
    3738        self.overlay_drawables = []
     
    7576        # At least this is better than just calling `eval`, right?
    7677        cls = getattr(go, classname)
    77         if issubclass(cls, go.Puzzler):
     78        if issubclass(cls, puzzle.Puzzler):
    7879            gobj = cls(*args)
    7980        elif issubclass(cls, go.GameObject):
Note: See TracChangeset for help on using the changeset viewer.