summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/4WheelCar/FLLine.gd
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-03-15 15:16:39 -0400
committerrealtradam <[email protected]>2020-03-15 15:16:39 -0400
commitfeb18d37762eb8f4414625175576f8fe9debd992 (patch)
treecd7d7409f0cc67f846b33f4fb9d9a329ec207883 /Racing-Game/4WheelCar/FLLine.gd
parentc65f6805081e999fa231f71b231dba6dc05286ea (diff)
downloadoptimal-direction-feb18d37762eb8f4414625175576f8fe9debd992.tar.gz
optimal-direction-feb18d37762eb8f4414625175576f8fe9debd992.zip
refactoring complete close #4
Diffstat (limited to 'Racing-Game/4WheelCar/FLLine.gd')
-rw-r--r--Racing-Game/4WheelCar/FLLine.gd25
1 files changed, 0 insertions, 25 deletions
diff --git a/Racing-Game/4WheelCar/FLLine.gd b/Racing-Game/4WheelCar/FLLine.gd
deleted file mode 100644
index fffcf04..0000000
--- a/Racing-Game/4WheelCar/FLLine.gd
+++ /dev/null
@@ -1,25 +0,0 @@
-extends Line2D
-
-# Declare member variables here. Examples:
-# var a = 2
-# var b = "text"
-var tempnode = 0
-var on = true
-
-# Called when the node enters the scene tree for the first time.
-func _ready():
- tempnode = get_node("../Cars/4WheelCar/CarBody/Wheels/FLWheel")
- pass # Replace with function body.
-
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
- pass
-
-func _on_FLWheel_slip():
- if(on):
- add_point(tempnode.get_global_position())
-
-
-func _on_FLWheel_end():
- duplicate(1)
- on = false