2023-03-12 16:47:18 +01:00
|
|
|
import pygame
|
|
|
|
|
2023-03-12 16:08:54 +01:00
|
|
|
class GameContext:
|
2023-03-12 16:47:18 +01:00
|
|
|
dust_car_speed = 20
|
2023-03-12 16:08:54 +01:00
|
|
|
dust_car_position_x = 0
|
|
|
|
dust_car_position_y = 0
|
2023-03-13 08:49:34 +01:00
|
|
|
dust_car_pygame = None
|
|
|
|
dust_car_pil = None
|
2023-03-12 16:47:18 +01:00
|
|
|
canvas = None
|
|
|
|
|
|
|
|
def startup(game_context: GameContext):
|
2023-03-13 08:49:34 +01:00
|
|
|
game_context.canvas.blit(game_context.dust_car_pygame, (game_context.dust_car_position_x, game_context.dust_car_position_y))
|