the game is gamin

This commit is contained in:
Itsig0
2025-03-10 13:00:07 +01:00
parent 1e38fb37d1
commit 275022f295
7 changed files with 226 additions and 0 deletions

14
shot.py Normal file
View File

@@ -0,0 +1,14 @@
import pygame
from circleshape import CircleShape
from constants import SHOT_RADIUS
class Shot(CircleShape):
def __init__(self, x, y):
super().__init__(x, y, SHOT_RADIUS)
self.rotation = 0
def draw(self, screen):
pygame.draw.circle(screen, "white", self.position, self.radius, 2)
def update(self, dt):
self.position += self.velocity * dt