Ignore:
Timestamp:
09/08/13 00:02:09 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Amend:
32373764393833386438663536333765363938623938646366313930383661646535333834313632
Message:

Show splash image on startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r634 r647  
    1414from nagslang.events import (
    1515    AddDrawableEvent, DeathEvent, DoorEvent, QuitEvent, ScreenChange)
     16from nagslang.game_object import SplashImage
    1617from nagslang.level import Level
    1718from nagslang.screens.base import Screen
     
    326327        x_pos = 130 + padding
    327328        surface.blit(inv_surf, (x_pos, y_pos))
     329
     330    def splash(self):
     331        AddDrawableEvent.post(SplashImage(resources.get_image('title.png'),
     332                              10))
Note: See TracChangeset for help on using the changeset viewer.