20 lines
594 B
Python
20 lines
594 B
Python
|
import pygame
|
||
|
|
||
|
from sprite.PositionScale import PositionScale
|
||
|
from ui_elements.ClickEvent import ClickEvent
|
||
|
from ui_elements.KeyEvent import KeyEvent
|
||
|
|
||
|
|
||
|
class TickData:
|
||
|
def __init__(self, dt: float, pygame_events: list[pygame.event.Event], key_events: list[KeyEvent],
|
||
|
click_events: list[ClickEvent], screen_transform: PositionScale):
|
||
|
self.dt = dt
|
||
|
self.pygame_events = pygame_events
|
||
|
self.key_events = key_events
|
||
|
self.click_events = click_events
|
||
|
self.screen_transform = screen_transform
|
||
|
|
||
|
@staticmethod
|
||
|
def empty():
|
||
|
pass
|