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.
This commit is contained in:
13
data_resources/article_info.gd
Normal file
13
data_resources/article_info.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user