FIxed typo

This commit is contained in:
2023-12-27 22:01:21 +01:00
parent 3cd688c3e2
commit ed384cfcba

View File

@@ -1,6 +1,6 @@
import pygame
import pygame_menu
import random as rnd
import random as rand
pygame.init()
MAINSCREEN_SIZE = (1024,768)
@@ -124,7 +124,7 @@ def spawn_entities(x:int):
Objects = list()
count = 0
for y in range(x):
Objects.append(GameObject("Entitiy-"+str(count), rnd.randint(1,MAINSCREEN_SIZE[0]), rnd.randint(1,MAINSCREEN_SIZE[1]), rnd.randint(1,15)))
Objects.append(GameObject("Entitiy-"+str(count), rand.randint(1,MAINSCREEN_SIZE[0]), rand.randint(1,MAINSCREEN_SIZE[1]), rand.randint(1,15)))
count += 1
for x in Objects:
print(x)