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

Ranged physical Weapon. More...

Inheritance diagram for Model.LongBow:
Model.Weapon

Public Member Functions

weaponType getWeapType ()
 
 LongBow ()
 

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

§ LongBow()

Model.LongBow.LongBow ( )

Constructs a LongBow weapon with stats: 7str, 8skill, 0int, and a range of 2-3 with name Long Bows

Member Function Documentation

§ getWeapType()

weaponType Model.LongBow.getWeapType ( )

Returns the weapon type.

Implements Model.Weapon.

Property Documentation

§ modInt

int Model.LongBow.modInt
get

Returns the weapon intelligence.

§ modSkill

int Model.LongBow.modSkill
get

Returns the weapon skill.

§ modStr

int Model.LongBow.modStr
get

Returns the weapon strength.

§ name

string Model.LongBow.name
get

Returns the name of the weapon.

§ range

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