Class MST_WeaponList

Description

A list class for storing WeaponInfo objects.

Located in /WeaponList.php (line 37)

MST_ListClass
   |
   --MST_WeaponList
Method Summary
MST_WeaponList MST_WeaponList ()
bool addWeapon (array $properties)
Variables

Inherited Variables

Inherited from MST_ListClass

MST_ListClass::$_myData
MST_ListClass::$__NULL
Methods
Constructor MST_WeaponList (line 42)

Constructor.

MST_WeaponList MST_WeaponList ()
addWeapon (line 54)

Create a new WeaponInfo object and add it to the list.

  • return: False on failure, true on success.
bool addWeapon (array $properties)
  • array $properties: An array of initial properties/values. Must contain a 'name' key/value pair.

Inherited Methods

Inherited From MST_ListClass

MST_ListClass::MST_ListClass()
MST_ListClass::addItem()
MST_ListClass::addItemCopy()
MST_ListClass::getItemByIndex()
MST_ListClass::getItemByProperty()
MST_ListClass::getSize()
MST_ListClass::itemExists()
MST_ListClass::_MST_ListClass()

Documentation generated on Fri, 24 Mar 2006 11:22:46 +0800 by phpDocumentor 1.3.0RC4