Commit ·
b36055a
1
Parent(s): 5b0f63c
Update speed
Browse files200 unmodified lines201202203204205206207200 unmodified lines# ── Robot sprite/class -──────────────────────────────────────────────────class Robot:def __init__(self, sprite, speed=5000): # Declare the robot's physical stats and routing (position, speed, movement, path)img = Image.open(sprite).convert("RGBA").resize((40, 40))self.png = np.array(img)if self.png.shape[-1] != 4:200 unmodified lines201202203204205206207200 unmodified lines# ── Robot sprite/class -──────────────────────────────────────────────────class Robot:def __init__(self, sprite, speed=10000): # Declare the robot's physical stats and routing (position, speed, movement, path)img = Image.open(sprite).convert("RGBA").resize((40, 40))self.png = np.array(img)if self.png.shape[-1] != 4:
app.py+1-1