Skip to content

Commit c2ece2a

Browse files
fix missing FloatingParticle call
1 parent 25f9823 commit c2ece2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pygame
22
from random import choice, randint, uniform
33
from constants import SCREEN_WIDTH, SCREEN_HEIGHT
4-
from particles import Particle, ExplodingParticle
4+
from particles import Particle, ExplodingParticle, FloatingParticle
55

66
display_surface = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
77
clock = pygame.time.Clock()
@@ -38,7 +38,7 @@ def spawn_floating_particle():
3838
color = "white"
3939
direction = pygame.math.Vector2(0, -1)
4040
speed = randint(50, 100)
41-
Particle(particle_group, pos, color, direction, speed)
41+
FloatingParticle(particle_group, pos, color, direction, speed)
4242

4343

4444
def main_loop():

0 commit comments

Comments
 (0)