public static class ShootMechanic.ProjectileData extends Object
Constructor and Description |
---|
ProjectileData(SkillCaster caster,
int damage,
Optional<Skill> onHitSkill,
Optional<Skill> onEndSkill,
float power) |
Modifier and Type | Method and Description |
---|---|
void |
executeHitSkill(AbstractEntity projectile,
AbstractEntity target) |
SkillCaster |
getCaster() |
int |
getDamage() |
float |
getPower() |
public ProjectileData(SkillCaster caster, int damage, Optional<Skill> onHitSkill, Optional<Skill> onEndSkill, float power)
public SkillCaster getCaster()
public int getDamage()
public float getPower()
public void executeHitSkill(AbstractEntity projectile, AbstractEntity target)
Copyright © 2020. All rights reserved.