LiamKhoaLe commited on
Commit
b36055a
·
1 Parent(s): 5b0f63c

Update speed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ def knn_path(start, targets, occ):
201
 
202
  # ── Robot sprite/class -──────────────────────────────────────────────────
203
  class Robot:
204
- def __init__(self, sprite, speed=5000): # Declare the robot's physical stats and routing (position, speed, movement, path)
205
  img = Image.open(sprite).convert("RGBA").resize((40, 40))
206
  self.png = np.array(img)
207
  if self.png.shape[-1] != 4:
 
201
 
202
  # ── Robot sprite/class -──────────────────────────────────────────────────
203
  class Robot:
204
+ def __init__(self, sprite, speed=10000): # Declare the robot's physical stats and routing (position, speed, movement, path)
205
  img = Image.open(sprite).convert("RGBA").resize((40, 40))
206
  self.png = np.array(img)
207
  if self.png.shape[-1] != 4: