2023-11-08 14:28:55 +11:00
|
|
|
extends Resource
|
|
|
|
class_name Enemy
|
|
|
|
|
2023-12-10 12:05:41 +11:00
|
|
|
@export var title := "dog"
|
|
|
|
@export var target_type: Data.EnemyType
|
|
|
|
@export var icon: Texture
|
|
|
|
@export var death_sprite: Texture
|
|
|
|
@export var sprite: AtlasTexture
|
|
|
|
@export var spawn_power:= 10
|
|
|
|
@export var health := 100
|
|
|
|
@export var penalty := 10
|
|
|
|
@export var movement_speed := 0.5
|
|
|
|
@export var spawn_cooldown := 1.0
|