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

Ranged physical Weapon. More...

Inheritance diagram for Model.ShortBow:
Model.Weapon

Public Member Functions

weaponType getWeapType ()
 
 ShortBow ()
 

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

Ranged physical Weapon.

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

Constructor & Destructor Documentation

§ ShortBow()

Model.ShortBow.ShortBow ( )

Constructs a Fireball weapon with stats: 7str, 10skill, 0int, and a range of 1-2 with name Short Bows

Member Function Documentation

§ getWeapType()

weaponType Model.ShortBow.getWeapType ( )

Returns the weapon type.

Implements Model.Weapon.

Property Documentation

§ modInt

int Model.ShortBow.modInt
get

Returns the weapon intelligence.

§ modSkill

int Model.ShortBow.modSkill
get

Returns the weapon skill.

§ modStr

int Model.ShortBow.modStr
get

Returns the weapon strength.

§ name

string Model.ShortBow.name
get

Returns the name of the weapon.

§ range

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