Class ProjectileMoved


  • public class ProjectileMoved
    extends java.lang.Object
    An event called whenever a Projectile has moved towards a point.

    For projectiles that target the ground, this event is only triggered once (ie. AoE from Lizardman Shaman).

    • Constructor Detail

      • ProjectileMoved

        public ProjectileMoved()
    • Method Detail

      • getProjectile

        public Projectile getProjectile()
        The projectile being moved.
      • getPosition

        public LocalPoint getPosition()
        The target location of the projectile.
      • getZ

        public int getZ()
        The z-axis target location of the projectile.
      • setProjectile

        public void setProjectile​(Projectile projectile)
        The projectile being moved.
      • setPosition

        public void setPosition​(LocalPoint position)
        The target location of the projectile.
      • setZ

        public void setZ​(int z)
        The z-axis target location of the projectile.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object