9 lines
179 B
Python
9 lines
179 B
Python
import pygame
|
|
|
|
class World():
|
|
|
|
def __init__(self, mapImage):
|
|
self.__map = mapImage
|
|
|
|
def draw(self, surface:pygame.Surface):
|
|
surface.blit(self.__map, (0,0)) |