Half-baked state. Most of the UI is mostly done, but the integration with Grist (or any other data provider) is still missing.
14 lines
310 B
GDScript
14 lines
310 B
GDScript
extends Resource
|
|
class_name ArticleInfo
|
|
|
|
var id: String
|
|
var text: String
|
|
var icon: Texture
|
|
var price_cents_per_gram: float
|
|
|
|
func _init(p_id: String, p_text: String, p_icon: Texture, p_price_cents_per_gram: float) -> void:
|
|
id = p_id
|
|
text = p_text
|
|
icon = p_icon
|
|
price_cents_per_gram = p_price_cents_per_gram
|