Changeset 223:f675abd90529


Ignore:
Timestamp:
04/06/11 23:24:54 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Message:

player needs a world argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/level-editor

    r101 r223  
    1919from skaapsteker.sprites.player import Player
    2020from skaapsteker.widgets.text import Text
     21from skaapsteker.gamestate import GameState
    2122
    2223FRAMERATE = 60
     
    2526    clock = pygame.time.Clock()
    2627    screen_surface = pygame.display.get_surface()
    27     player = Player()
     28    game = GameState("game.json")
     29    player = Player(game.world)
    2830    level = DebugLevel(levelname, player)
    2931    level_surface = level.get_surface()
Note: See TracChangeset for help on using the changeset viewer.