Class Hitsplat

  • All Implemented Interfaces:
    Validatable

    public final class Hitsplat
    extends java.lang.Object
    implements Validatable
    • Constructor Detail

      • Hitsplat

        public Hitsplat​(int id,
                        int damage,
                        int endCycle,
                        int secondaryId,
                        int secondaryDamage)
    • Method Detail

      • geId

        @Deprecated
        public int geId()
        Deprecated.
      • getStartCycle

        @Deprecated
        public int getStartCycle()
        Deprecated.
      • isValid

        public boolean isValid()
        Description copied from interface: Validatable
        Verifies whether this entity is valid and still exists, typically on the world-graph
        Specified by:
        isValid in interface Validatable
        Returns:
        true if it's still available, otherwise false
      • getId

        public int getId()
      • getDamage

        public int getDamage()
      • getEndCycle

        public int getEndCycle()
      • getSecondaryId

        public int getSecondaryId()
      • getSecondaryDamage

        public int getSecondaryDamage()
      • equals

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

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

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