Package net.minecraft.src
Class PropertyManager
java.lang.Object
net.minecraft.src.PropertyManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanProperty(String par1Str, boolean par2) Gets a boolean property.intgetIntProperty(String par1Str, int par2) Gets an integer property.Returns this PropertyManager's file object used for property saving.getProperty(String par1Str, String par2Str) Gets a property.voidlogs an info message then calls saveSettingsToFile Yes this appears to be a potential stack overflow - these 2 functions call each other repeatdly if an exception occurs.voidWrites the properties to the properties file.voidsetProperty(String par1Str, Object par2Obj) Saves an Object with the given property name.
-
Constructor Details
-
PropertyManager
-
-
Method Details
-
logMessageAndSave
public void logMessageAndSave()logs an info message then calls saveSettingsToFile Yes this appears to be a potential stack overflow - these 2 functions call each other repeatdly if an exception occurs. -
saveProperties
public void saveProperties()Writes the properties to the properties file. -
getPropertiesFile
Returns this PropertyManager's file object used for property saving. -
getProperty
Gets a property. If it does not exist, set it to the specified value. -
getIntProperty
Gets an integer property. If it does not exist, set it to the specified value. -
getBooleanProperty
Gets a boolean property. If it does not exist, set it to the specified value. -
setProperty
Saves an Object with the given property name.
-