Class AddCreatureAction

    • Constructor Detail

      • AddCreatureAction

        public AddCreatureAction​(Legion legion,
                                 CreatureType creatureType)
    • Method Detail

      • getAddedCreatureType

        public CreatureType getAddedCreatureType()
        The type of creature that was added.
      • getReason

        public java.lang.String getReason()
        Returns a string representing the reason for the addition. TODO remove in favour of using the event hierarchy TODO should be abstract here, but History still creates instances of this class
      • toString

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