extends TextureRect
class_name MpItemSub

@onready var mp_icon = preload("res://resource/ui/hud/player_status_mp.png") as Texture2D
@onready var mp_icon_empty = preload("res://resource/ui/hud/player_status_mp_empty.png") as Texture2D

func set_active(is_active:bool):
	texture = mp_icon if is_active else mp_icon_empty
