public interface IWeaponStorage
| Modifier and Type | Method and Description |
|---|---|
int |
getWeapon(IWeapon weapon)
Retrieve the amount of weapons in storage
|
boolean |
hasWeapons()
check if there are any weapons stored
|
int |
update(IWeapon weapon,
int amount)
Move weapons in or out of storage
|
int getWeapon(IWeapon weapon)
weapon - int update(IWeapon weapon, int amount)
weapon - type of weaponamount - to be moved (positive means into the storage, negative out of the storage)boolean hasWeapons()
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.