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

A box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r127 r133  
    77from nagslang.constants import ZORDER_HIGH
    88from nagslang.events import ScreenChange
    9 from nagslang.game_object import FloorSwitch, FloorLight, PuzzleGlue
     9from nagslang.game_object import FloorSwitch, FloorLight, PuzzleGlue, Box
    1010from nagslang.level import Level
    1111from nagslang.protagonist import Protagonist
     
    7272        self.add_walls()
    7373        self.add_protagonist()
    74         # TODO: Put this in a level instead:
     74        self._setup_demo_objects()
     75
     76    def _setup_demo_objects(self):
     77        # TODO: Put this in a level instead
    7578        glue = PuzzleGlue()
    7679        switch = FloorSwitch(self.space, (300, 400))
     
    8487        self._drawables.add(light)
    8588        self._drawables.add(light2)
     89        box = Box(self.space, (250, 350))
     90        self._drawables.add(box)
    8691
    8792    def add_walls(self):
Note: See TracChangeset for help on using the changeset viewer.