13 lines
356 B
Python
13 lines
356 B
Python
import pygame
|
|
|
|
class GameContext:
|
|
dust_car_speed = 20
|
|
dust_car_position_x = 0
|
|
dust_car_position_y = 0
|
|
stick_man_pygame = None
|
|
stick_man_pil = None
|
|
canvas = None
|
|
|
|
def startup(game_context: GameContext):
|
|
game_context.canvas.blit(game_context.stick_man_pygame, (game_context.dust_car_position_x, game_context.dust_car_position_y))
|