|
@@ -2,12 +2,12 @@ class_name Raquette
|
|
|
extends StaticBody2D
|
|
|
|
|
|
|
|
|
-const VITESSE_MAX : float = 20.0
|
|
|
+const VITESSE_MAX: float = 20.0
|
|
|
|
|
|
-var _vitesse : float = 0.0
|
|
|
+var _vitesse: float = 0.0
|
|
|
|
|
|
|
|
|
-func _physics_process(delta: float) -> void:
|
|
|
+func _physics_process(_delta: float) -> void:
|
|
|
if not est_vivant():
|
|
|
return
|
|
|
position.x += _vitesse
|