This repository has been archived on 2025-12-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
food-coop-waage/data_resources/article_info.gd
Felix 4b1796250c Initial commit
Half-baked state. Most of the UI is mostly done, but the integration
with Grist (or any other data provider) is still missing.
2025-05-11 19:19:24 +02:00

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