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