Class AttackCues.Builder
java.lang.Object
privbot.mechanics.AttackCues.Builder
- Enclosing class:
AttackCues
Collects cues. Mapping one id to two different styles is rejected by
build().-
Method Summary
Modifier and TypeMethodDescriptionanimation(int id, CombatStyle style) animations(Set<Integer> ids, CombatStyle style) build()launchOffsetCycles(int cycles) passive(int animationId) projectile(int id, CombatStyle style)
-
Method Details
-
animation
-
animations
-
projectile
-
passive
-
launchOffsetCycles
- Parameters:
cycles- cycles between the animation and its projectile; a negative value is treated as 0
-
build
- Throws:
IllegalArgumentException- when an id was mapped to two different styles (names the id)
-