weapons.dictionary module

Provides helper class to store weapon instances.

class weapons.dictionary.WeaponDictionary(factory=<class 'weapons._base.Weapon'>, *args, **kwargs)[source]

Bases: entities.dictionary.EntityDictionary

Helper class used to store weapon instances.

__init__(factory=<class 'weapons._base.Weapon'>, *args, **kwargs)[source]

Initialize the dictionary.