* Changement de l'UI, ajouts de l'inspecteur par carte et changement de police * Ajout d'un semblant d'exploration * Ajout de la sauvegarde des entités * Restructuration mineure de l'arborescence * Fix divers et réécriture des textes
18 lines
468 B
GDScript
18 lines
468 B
GDScript
extends Resource
|
|
class_name CardInfo
|
|
|
|
@export var title : String
|
|
@export var bg_color : Color = Color("2364aaff")
|
|
@export var type_icon : Texture = preload("res://common/icons/cube-3d-sphere.svg")
|
|
@export var texture : Texture
|
|
|
|
@export var important_stat_text : String
|
|
@export var important_stat_icon : Texture
|
|
|
|
@export var stats : Array[CardStatInfo] = []
|
|
@export var sections : Array[CardSectionInfo] = []
|
|
|
|
func _init(
|
|
_title : String = "",
|
|
):
|
|
title = _title |