Unit u_scores
Description
C2PP ***************************************************************************
Delphi Game Engine
Copyright 2021-2025 Patrick Prémartin under AGPL 3.0 license.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
***************************************************************************
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-08T18:44:45.917+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 0.16.0.