Represent an Item in the shop or in the Inventory.
package |
inc\Monster.inc |
---|---|
author |
Alexandre Renoux |
author |
Pierre-Emmanuel Novac |
__construct(string $name, integer $level, integer $hp, integer $xp, integer $power, string $icon) : void
string
Monster's name
integer
Monster's level
integer
Monster's HP
integer
Exp given by the Monster
integer
Monster's power
string
Item's icon
name : string
var |
Name of the Monster. |
---|
string
icon : string
var |
Monster's icon. |
---|
string
desc : \desc
var |
Monster's description. |
---|
\desc
hp : integer
var |
HP of the Monster. |
---|
integer
xp : integer
var |
Exp given by this monster. |
---|
integer
level : integer
var |
Monster's level. |
---|
integer
power :