increase player speed

This commit is contained in:
Pierre Wessman 2025-09-16 16:48:41 +02:00
parent cfdad79207
commit cad05ad895

View File

@ -19,7 +19,7 @@ class Player {
this.role = position; // 'LW', 'C', 'RW', 'LD', 'RD', 'G' this.role = position; // 'LW', 'C', 'RW', 'LD', 'RD', 'G'
this.radius = position === 'G' ? 20 : 12; this.radius = position === 'G' ? 20 : 12;
this.mass = position === 'G' ? 2 : 1; this.mass = position === 'G' ? 2 : 1;
this.maxSpeed = position === 'G' ? 150 : 200; this.maxSpeed = position === 'G' ? 200 : 280;
this.acceleration = 800; this.acceleration = 800;
this.restitution = 0.8; this.restitution = 0.8;