My Project
Public Member Functions | Properties | List of all members
Model.WeaponModule.IronSword Class Reference

Melee Physical Weapon. More...

Inheritance diagram for Model.WeaponModule.IronSword:
Model.WeaponModule.Weapon

Public Member Functions

 IronSword ()
 
weaponType getWeapType ()
 

Properties

int modStr [get]
 
int modInt [get]
 
int modSkill [get]
 
string name [get]
 
int [] range [get]
 
- Properties inherited from Model.WeaponModule.Weapon
String name [get]
 
int modStr [get]
 
int modInt [get]
 
int modSkill [get]
 
int [] range [get]
 

Detailed Description

Melee Physical Weapon.

This class represents a melee weapon. It implements the Weapon interface.

Constructor & Destructor Documentation

§ IronSword()

Model.WeaponModule.IronSword.IronSword ( )
inline

Constructs a Iron Sword weapon with stats: 7str, 3skill, 0int, and a range of 1 with name Iron Sword.

Member Function Documentation

§ getWeapType()

weaponType Model.WeaponModule.IronSword.getWeapType ( )
inline

Returns the weapon type.

Implements Model.WeaponModule.Weapon.

Property Documentation

§ modInt

int Model.WeaponModule.IronSword.modInt
get

Returns the weapon intelligence.

§ modSkill

int Model.WeaponModule.IronSword.modSkill
get

Returns the weapon skill.

§ modStr

int Model.WeaponModule.IronSword.modStr
get

Returns the weapon strength.

§ name

string Model.WeaponModule.IronSword.name
get

Returns the name of the weapon.

§ range

int [] Model.WeaponModule.IronSword.range
get

Return the range of the weapon, where range[minimum range, maximum range].


The documentation for this class was generated from the following file: