fix: Remove duplicate constants and add null check for updatePhysicsObjects

This commit is contained in:
Kacper Kostka (aider)
2025-04-05 17:16:45 +02:00
parent 20f5036848
commit cf64b6db48
3 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
// Physics objects (square, circle, triangle)
const SQUARE = 16;
const CIRCLE = 17;
const TRIANGLE = 18;
// Constants are already defined in constants.js
// Physics object properties
const PHYSICS_OBJECT_COLORS = ['#FF5733', '#33FF57', '#3357FF', '#F3FF33', '#FF33F3'];