public interface IWeaponSlot
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Retrieve the identifier for this slot.
|
javafx.geometry.Point2D |
getOffset()
Retrieve the offset of the empty weapon slot.
|
ESide |
getSide()
Retrieve the side the slot is located on.
|
Optional<IWeapon> |
getWeapon()
Retrieve the weapon stored in this slot.
|
void |
setWeapon(IWeapon weapon)
Set or unset a weapon in the slot.
|
ESide getSide()
void setWeapon(IWeapon weapon)
null will unset the weapon.weapon - javafx.geometry.Point2D getOffset()
int getId()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.