Class AbstractLevelInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    FlashAnimationInfo, LevelInfo, ShopInfo

    public abstract class AbstractLevelInfo
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Abstract info class for levels shops and flash animations.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      LevelType type
      Level type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      java.lang.String getName()
      Returns the level name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • type

        public LevelType type
        Level type. Default is Level.
    • Constructor Detail

      • AbstractLevelInfo

        public AbstractLevelInfo()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • getName

        public java.lang.String getName()
        Returns the level name.
        Returns:
        The level type as default.
      • toString

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