ogs.items
Class ProjectileWeapon
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Entity
|
+--ogs.core.Item
|
+--ogs.items.Weapon
|
+--ogs.items.RangedWeapon
|
+--ogs.items.ProjectileWeapon
- All Implemented Interfaces:
- EventListener
- public class ProjectileWeapon
- extends RangedWeapon
A ranged weapon that requires projectiles or other type of
ammunition.
Field Summary |
protected static Class |
projectile
Item required by this weapon as projectile. |
Method Summary |
static Class |
getProjectile()
Determine item required by this weapon for projectiles. |
Methods inherited from class ogs.core.Item |
getDensity, getHardness, getMaterial, getThickness, getWorth, setDensity, setHardness, setMaterial, setThickness, setWorth, updateHealthPoints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
projectile
protected static Class projectile
- Item required by this weapon as projectile.
ProjectileWeapon
public ProjectileWeapon()
getProjectile
public static Class getProjectile()
- Determine item required by this weapon for projectiles.
- Returns:
- Class of projectile item.