Docs Goabase

GamesBoardAjax
in package
uses TraitData, TraitDataWrite, TraitMemberLink

FinalYes

Table of Contents

Properties

$game  : string

Methods

__construct()  : mixed
getDataInstance()  : Data
getDataWriteInstance()  : DataWrite
getHighScore()  : int
Picks high score
getMemberLinkInstance()  : MemberLink
updateAndGetScore()  : string
parseGameData()  : array<string|int, mixed>|array<string|int, int>

Properties

Methods

__construct()

public __construct(string $game) : mixed
Parameters
$game : string

getHighScore()

Picks high score

public getHighScore() : int
Return values
int

updateAndGetScore()

public updateAndGetScore() : string
Return values
string

parseGameData()

private parseGameData(string $data) : array<string|int, mixed>|array<string|int, int>
Parameters
$data : string
Return values
array<string|int, mixed>|array<string|int, int>

        
On this page

Search results