Class StringCVar



  • public class StringCVar
    extends CVar
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      StringCVar​(java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDefaultValue​()  
      java.lang.String getName​()  
      java.lang.String getValue​()  
      void setDefaultValue​(java.lang.Object defaultValue)
      The value which is used for initializiation.
      void setValue​(java.lang.Object value)  
      java.lang.String toString​()
      The values as string representation.
      • Methods inherited from class com.bombinggames.wurfelengine.core.cvar.CVar

        register
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringCVar

        public StringCVar​(java.lang.String value)
        Parameters:
        value -
    • Method Detail

      • getValue

        public java.lang.String getValue​()
        Specified by:
        getValue in class CVar
        Returns:
      • getName

        public java.lang.String getName​()
        Overrides:
        getName in class CVar
        Returns:
      • toString

        public java.lang.String toString​()
        Description copied from class: CVar
        The values as string representation.
        Specified by:
        toString in class CVar
      • getDefaultValue

        public java.lang.String getDefaultValue​()
        Specified by:
        getDefaultValue in class CVar
        Returns:
      • setDefaultValue

        public void setDefaultValue​(java.lang.Object defaultValue)
        Description copied from class: CVar
        The value which is used for initializiation.
        Specified by:
        setDefaultValue in class CVar
        Parameters:
        defaultValue -