Class: GraphicPlayerDescription

GraphicPlayerDescription

The graphic displaying all the stats in the player description state menu

new GraphicPlayerDescription (gamePlayer)

Name Type Description
gamePlayer GamePlayer The current selected player
Properties:
Name Type Description
gamePlayer GamePlayer The current selected player
graphicNameCenter GraphicText The player's name graphic (for menu choices)
graphicName GraphicText The player's name graphic (for menu description)
graphicClass GraphicText The player's class name graphic
graphicLevelName GraphicText The player's level name graphic
graphicLevel GraphicText The player's level graphic
graphicExpName GraphicText The graphic text for experience name
graphicExp GraphicText The graphic text for experience stat
listStatsNames GraphicText All the player's stats names graphics
listStats GraphicText All the player's stats values graphics
listLength number The max length of the stats for each column
battler Picture2D The player battler
battlerFrame Frame The battler frame

Methods

initializeStatisticProgression ()

Initialize the statistic progression

updateStatisticProgression ()

Update the statistic progression

updateBattler ()

Update the battler frame

drawStatisticProgression (x, y, w, h)

Drawing the statistic progression
Name Type Description
x number The x position to draw graphic
y number The y position to draw graphic
w number The width dimention to draw graphic
h number The height dimention to draw graphic

drawChoice (x, y, w, h)

Drawing the player in choice box
Name Type Description
x number The x position to draw graphic
y number The y position to draw graphic
w number The width dimention to draw graphic
h number The height dimention to draw graphic

drawBox (x, y, w, h)

Drawing the player description
Name Type Description
x number The x position to draw graphic
y number The y position to draw graphic
w number The width dimention to draw graphic
h number The height dimention to draw graphic