Object-orientated approach to storing the loot info

This commit is contained in:
CharonInferar
2014-04-08 02:12:36 +02:00
parent 0eedd5cc5f
commit 9526eee9d6
8 changed files with 139 additions and 27 deletions
+25 -1
View File
@@ -126,7 +126,7 @@ public class LootService implements INetworkDispatch {
}
}
// ToDo: Group loot settings etc.
// [20:35] <@_Light> your actual loot chance was lootgroupchance*lootchance
@@ -158,4 +158,28 @@ public class LootService implements INetworkDispatch {
return lootDropList;
}
public void test(TreeSet test1){
}
public void test2(String test2){
System.out.println(test2);
}
public void saveLootData(String[] lootPoolName, int[] lootPoolChance, int lootGroupChance){
for (String ui : lootPoolName){
System.out.println(ui);
}
for (int ui : lootPoolChance){
System.out.println(ui);
}
System.out.println(lootGroupChance);
}
}