Equipment
Table of Contents
- $armor : string
- $armorvalue : int
- $weapon : string
- $weaponvalue : int
- getArmor() : string
- Get the value of Armor.
- getArmorvalue() : int
- Get the value of Armorvalue.
- getWeapon() : string
- Get the value of Weapon.
- getWeaponvalue() : int
- Get the value of Weaponvalue.
- setArmor() : self
- Set the value of Armor.
- setArmorvalue() : self
- Set the value of Armorvalue.
- setWeapon() : self
- Set the value of Weapon.
- setWeaponvalue() : self
- Set the value of Weaponvalue.
Properties
$armor
private
string
$armor
= 'T-Shirt'
Tags
$armorvalue
private
int
$armorvalue
= 0
Tags
$weapon
private
string
$weapon
= 'Fists'
Tags
$weaponvalue
private
int
$weaponvalue
= 0
Tags
Methods
getArmor()
Get the value of Armor.
public
getArmor() : string
Return values
string —getArmorvalue()
Get the value of Armorvalue.
public
getArmorvalue() : int
Return values
int —getWeapon()
Get the value of Weapon.
public
getWeapon() : string
Return values
string —getWeaponvalue()
Get the value of Weaponvalue.
public
getWeaponvalue() : int
Return values
int —setArmor()
Set the value of Armor.
public
setArmor(string $armor) : self
Parameters
- $armor : string
Return values
self —setArmorvalue()
Set the value of Armorvalue.
public
setArmorvalue(int $armorvalue) : self
Parameters
- $armorvalue : int
Return values
self —setWeapon()
Set the value of Weapon.
public
setWeapon(string $weapon) : self
Parameters
- $weapon : string
Return values
self —setWeaponvalue()
Set the value of Weaponvalue.
public
setWeaponvalue(int $weaponvalue) : self
Parameters
- $weaponvalue : int