public class WeaponPref extends Object
Constructor and Description |
---|
WeaponPref(ItemType weapon)
Use 'weapon' with primary-firing-mode.
|
WeaponPref(ItemType weapon,
boolean primary)
Use 'weapon' and the concrete mode.
|
WeaponPref(Weapon weapon,
boolean primary)
Use 'weapon' and the concrete mode.
|
public WeaponPref(ItemType weapon, boolean primary)
weapon
- primary
- true == use primary firing mode, false == use secondary firing modepublic WeaponPref(ItemType weapon)
weapon
- primary
- true == use primary firing mode, false == use secondary firing modepublic WeaponPref(Weapon weapon, boolean primary)
weapon
- primary
- true == use primary firing mode, false == use secondary firing modepublic ItemType getWeapon()
public boolean isPrimary()
public boolean isSecondary()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.