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.
2025-07-16 11:15:05 +02:00
|
|
|
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
|