Initial Void Bastion 0.20 prototype

This commit is contained in:
Emporex committed 2026-10-03 21:28:56 +02:00
commit 7362ca0f02
251 files changed
+29688

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#
# © 2024-present https://github.com/cengiz-pz
#
class_name RewardItem
extends RefCounted
const AMOUNT_PROPERTY := &"amount"
const TYPE_PROPERTY := &"type"
var _data: Dictionary
func _init(a_data: Dictionary):
_data = a_data
func get_amount() -> int:
return _data[AMOUNT_PROPERTY]
func get_type() -> String:
return _data[TYPE_PROPERTY]