mtd/Scripts/Resources/enemy.gd

13 lines
376 B
GDScript3
Raw Normal View History

2024-02-22 06:22:22 +11:00
class_name Enemy extends Resource
2024-02-22 06:22:22 +11:00
@export var title: String = "dog"
@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