public interface TLSaveable
class SPlayer extends CraftPlayer implements TLSaveable {
public SPlayer(String[] args) {
//do stuff
}
@Override
public String[] toTLString() {
//collect and return data
}
}
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
toTLString()
Returns an array of Strings used to save this Object in Turret Language configurations.
|
java.lang.String[] toTLString()
Note that all TLSaveables must have a public constructor TLSaveable(String[] args)
that will be invoked when initializing the object from a declaration, otherwise an TLSaveableException
is thrown.
None of the returned Strings may contain any new line characters (\n) nor asterisks (*).