Blaze-Brigade
Public Member Functions | Properties | List of all members
Model.IronSword Class Reference

Melee Physical Weapon. More...

Inheritance diagram for Model.IronSword:
Model.Weapon

Public Member Functions

weaponType getWeapType ()
 
 IronSword ()
 

Properties

int modStr [get]
 
int modInt [get]
 
int modSkill [get]
 
string name [get]
 
int [] range [get]
 
- Properties inherited from Model.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.IronSword.IronSword ( )

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.IronSword.getWeapType ( )

Return the weapon type

Implements Model.Weapon.

Property Documentation

§ modInt

int Model.IronSword.modInt
get

Returns the weapon intelligence.

§ modSkill

int Model.IronSword.modSkill
get

Returns the weapon skill.

§ modStr

int Model.IronSword.modStr
get

Returns the weapon strength.

§ name

string Model.IronSword.name
get

Returns the name of the weapon.

§ range

int [] Model.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: