Added some TODO lines and implemented very bad dash system

This commit is contained in:
2ndbeam 2024-04-25 23:21:54 +03:00
commit 828f4c52c7
12 changed files with 70 additions and 14 deletions

View file

@ -1,5 +1,5 @@
extends Node2D
# TODO: move colors to profile settings
var can_target = []
var color_player
var color_base
@ -59,10 +59,12 @@ func _ready():
scene_ready.emit()
func addtargetlist(body : Node2D):
#print("ГОЙДА")
if !can_target.has(body):
can_target.append(body)
func removetargetlist(body : Node2D):
#print("ГОЙДАN'T")
if can_target.has(body):
can_target.erase(body)