Changeset 274:988cf7c8b402 for nagslang


Ignore:
Timestamp:
Sep 5, 2013, 10:03:34 AM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

Add object returns for use in the level editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/level.py

    r209 r274  
    9696        if name is not None:
    9797            self._glue.add_component(name, gobj)
     98        return gobj
    9899
    99100    def _create_enemy(self, space, classname, args, name=None):
     
    108109        if name is not None:
    109110            self._glue.add_component(name, gobj)
     111        return gobj
    110112
    111113    def all_closed(self):
Note: See TracChangeset for help on using the changeset viewer.