Added some TODO lines and implemented very bad dash system
This commit is contained in:
parent
255a47f6da
commit
828f4c52c7
12 changed files with 70 additions and 14 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue