Interface Weapon
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfloatThe number of seconds that blocking is disabled.intAmount of durability to remove each time the weapon is used to attack.static Weapon.Builderweapon()Returns a new builder for creating a Weapon.
-
Method Details
-
weapon
Returns a new builder for creating a Weapon.- Returns:
- a builder instance.
-
itemDamagePerAttack
int itemDamagePerAttack()Amount of durability to remove each time the weapon is used to attack.- Returns:
- durability
-
disableBlockingForSeconds
float disableBlockingForSeconds()The number of seconds that blocking is disabled.- Returns:
- seconds
-