Unit u_scores
Description
C2PP ***************************************************************************
Delphi Game Engine Copyright (c) 2021-2026 Patrick PREMARTIN
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
***************************************************************************
Delphi Game Engine contains libraries and components to use in VCL or FireMonkey game (or classic) projects.
If you want to play sounds or musics, use game controllers, pilot your user interface with the keyboard or a game controller, it's the good place.
***************************************************************************
Author(s) : Patrick PREMARTIN
Site : https://delphigameengine.developpeur-pascal.fr
Project site : https://github.com/DeveloppeurPascal/Delphi-Game-Engine
*************************************************************************** File last update : 2025-05-25T17:36:34.087+02:00 Signature : e446a8bd60d9d6a518165e022120ad4c8c5556bf ***************************************************************************
Uses
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Class TScore |
Class to manage one score (current score or score from a scores list) |
Functions and Procedures
procedure score_init(editeur, logiciel: string); |
function score_liste_get: TScoreListe; |
function score_add(pseudo: string; points: cardinal; niveau: cardinal = 0): boolean; |
Types
TScoreListe = Gamolf.RTL.Scores.TScoreList<TScore>; |
Description
Functions and Procedures
procedure score_init(editeur, logiciel: string); |
|
Initialize default scores list and load it from the storrage |
function score_liste_get: TScoreListe; |
|
Get the default scores list |
function score_add(pseudo: string; points: cardinal; niveau: cardinal = 0): boolean; |
|
Add a score to the default scores list |
Types
TScoreListe = Gamolf.RTL.Scores.TScoreList<TScore>; |
|
List of scores items |
Generated by PasDoc 1.0.2.