com.daxie.xops.openxops.CharacterDataCodeOutputter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xopsmanipulator Show documentation
Show all versions of xopsmanipulator Show documentation
XOPSManipulator is a Java library that offers several functions to manipulate matters relating to X operations.
The newest version!
package com.daxie.xops.openxops;
import java.util.List;
import com.daxie.log.LogFile;
import com.daxie.tool.StringFunctions;
import com.daxie.xops.character.CharacterAILevel;
import com.daxie.xops.character.CharacterData;
import com.daxie.xops.character.CharacterTextureType;
/**
* Writes out character data formatted for the source code of OpenXOPS.
* @author Daba
*
*/
public class CharacterDataCodeOutputter {
private List character_data_list;
public CharacterDataCodeOutputter(List character_data_list) {
this.character_data_list=character_data_list;
}
public String GetCharacterDataSourceCode() {
String ret="";
if(character_data_list==null) {
LogFile.WriteWarn("[OutputCharacterDataSourceCode-GetCharacterDataSourceCode] Data is null.",true);
return ret;
}
final String array_name="Human";
final String separator=System.getProperty("line.separator");
for(int i=0;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy