Changeset 21:fedaf16a4ddf


Ignore:
Timestamp:
Apr 3, 2011, 3:38:36 PM (9 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
rebase_source:
070e6eb9d5be63d242294fe98ef2aec7aa6f708c
Message:

typo fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/level.py

    r20 r21  
    6262
    6363
    64     def get_backgound_pos(self, pos, display_size):
     64    def get_background_pos(self, pos, display_size):
    6565        bg_scalable_x = self.background_size[0] - display_size[0]
    6666        bg_scalable_y = self.background_size[1] - display_size[1]
     
    7373
    7474    def draw_background(self, surface, pos):
    75         bg_pos = self.get_backgound_pos(pos, surface.get_size())
     75        bg_pos = self.get_background_pos(pos, surface.get_size())
    7676        surface.blit(self.background.subsurface(Rect(bg_pos, surface.get_size())), (0, 0))
    7777
Note: See TracChangeset for help on using the changeset viewer.