Changeset 92:f065109d80ae


Ignore:
Timestamp:
Apr 4, 2011, 3:17:07 PM (9 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Add Player to level-editor, so it can use Level again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/level-editor

    r79 r92  
    1717from skaapsteker.constants import SCREEN
    1818from skaapsteker.level import Level
     19from skaapsteker.sprites.player import Player
    1920from skaapsteker.widgets.text import Text
    2021
     
    2425    clock = pygame.time.Clock()
    2526    screen_surface = pygame.display.get_surface()
    26     level = Level(levelname)
     27    player = Player()
     28    level = Level(levelname, player)
    2729    level_surface = level.get_surface()
    2830    position = [0, 0]
Note: See TracChangeset for help on using the changeset viewer.