Changeset 21:fedaf16a4ddf


Ignore:
Timestamp:
04/03/11 15:38:36 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Rebase:
30373065366562396435626536336432343232393466653938656632616563376161366637303863
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.