Class SummonInfo


  • public class SummonInfo
    extends java.lang.Object
    Little helper class to store information about a summoning: The target legion, the donor legion, and the summoned creature(type) (creature as String, for now). TODO there is overlap with the SummonEvent here, although the semantics are different. Maybe a constructor for SummonEvent could use this class.
    • Field Detail

      • target

        private final Legion target
      • donor

        private final Legion donor
      • noSummoningWanted

        private final boolean noSummoningWanted
    • Constructor Detail

      • SummonInfo

        public SummonInfo()
    • Method Detail

      • getTarget

        public Legion getTarget()
      • getDonor

        public Legion getDonor()
      • noSummoningWanted

        public boolean noSummoningWanted()
      • toString

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