Class: GraphicEquip

GraphicEquip

The graphic displaying all the equipment information in the equip menu

new GraphicEquip (gamePlayer, id, length)

Name Type Description
gamePlayer GamePlayer The current selected player
id number The equipment ID
length number Max length of equipment kind name
Properties:
Name Type Description
length number Max length of equipment kind name
graphicEquipmentName GraphicText All the equipment kind names graphics
graphicEquipment GraphicText All the equipment names graphics

Methods

drawChoice (x, y, w, h)

Drawing the equipment kind and equipment name
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