AbstractAffection/Scripts/character_state_logic.gd
2025-02-15 19:20:49 +01:00

11 lines
362 B
GDScript

extends Resource
@export var positive_sprite: Texture
@export var neutral_sprite: Texture
@export var negative_sprite: Texture
func _init(p_positive_sprite = Texture.new(), p_neutral_sprite = Texture.new(), p_negative_sprite = Texture.new()) -> void:
positive_sprite = p_positive_sprite
neutral_sprite = p_neutral_sprite
negative_sprite = p_negative_sprite