This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

16 lines
264 B
GDScript

class_name ScoreResult
extends Resource
@export var client_id: String
@export var score: int
func _init(
client_id: String,
score: int = 0,
) -> void:
self.client_id = client_id
self.score = score
func add_to_score(value: int) -> void:
self.score += value