fight system and whatnot
This commit is contained in:
6
scripts/fightable.gd
Normal file
6
scripts/fightable.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
class_name Fightable
|
||||
extends Area2D
|
||||
|
||||
signal fought(player: Player)
|
||||
|
||||
func fight(player: Player) -> void: fought.emit(player)
|
||||
Reference in New Issue
Block a user