init commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
extends Node
|
||||
|
||||
class_name Damageable
|
||||
|
||||
@export var max_health: int
|
||||
@onready var health = max_health
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
extends Node
|
||||
|
||||
class_name Entity
|
||||
|
||||
func is_damageable():
|
||||
has_node("Damageable")
|
||||
Reference in New Issue
Block a user