gros dev pre proto
* 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
This commit is contained in:
18
gui/game/card/scripts/card_info.gd
Normal file
18
gui/game/card/scripts/card_info.gd
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user