SHARE
TWEET

Untitled

a guest Jun 19th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.example.dotacreep;
  2.  
  3. import java.util.ArrayList;
  4.  
  5. public class CreepData {
  6.     public static String[][] data = new String[][]{
  7.             {"Radiant Melee Creep","Radiant","550","2","19-23","100","32-38","57","https://gamepedia.cursecdn.com/dota2_gamepedia/e/e7/Melee_Creep_Radiant_model.png?version=8501689b4495ddb60e3875a26354f31d"},
  8.             {"Dire Melee Creep","Dire","550","2","19-23","100","32-38","57","https://gamepedia.cursecdn.com/dota2_gamepedia/a/a9/Melee_Creep_Dire_model.png?version=9f16d9054f78900fc49c877317db4101"},
  9.             {"Radiant Ranged Creep","Radiant","300","0","21-26","500","48-58","69","https://gamepedia.cursecdn.com/dota2_gamepedia/0/0b/Ranged_Creep_Radiant_model.png?version=f23cdc6479390f2dff01ec5d99034377"},
  10.             {"Dire Ranged Creep","Dire","300","0","21-26","500","48-58","69","https://gamepedia.cursecdn.com/dota2_gamepedia/3/3f/Ranged_Creep_Dire_model.png?version=d9d398c05ac7de5a0b398a8fafa8f1fd"},
  11.             {"Radiant Siege Creep","Radiant","875","0","35-46","690","66-80","88","https://gamepedia.cursecdn.com/dota2_gamepedia/5/56/Siege_Creep_Radiant_model.png?version=e29899d47f7c8374903f57cd027c3b3d"},
  12.             {"Dire Siege Creep","Dire","875","0","35-46","690","66-80","88","https://gamepedia.cursecdn.com/dota2_gamepedia/6/6a/Siege_Creep_Dire_model.png?version=37ba9fefa64d683684bc1f3959f005ab"},
  13.             {"Radiant Mega Melee Creep","Radiant","1270","3","96-104","100","18-26","25","https://gamepedia.cursecdn.com/dota2_gamepedia/a/aa/Mega_Melee_Creep_Radiant_model.png?version=658a28e4204ce259f35da68f41f04a4d"},
  14.             {"Dire Mega Melee Creep","Dire","1270","3","96-104","100","18-26","25","https://gamepedia.cursecdn.com/dota2_gamepedia/2/27/Mega_Melee_Creep_Dire_model.png?version=4a1fbc8ce1f75d392131cc2efdb908df"},
  15.             {"Radiant Mega Ranged Creep","Radiant","1015","1","131-136","500","21-28","22","https://gamepedia.cursecdn.com/dota2_gamepedia/5/5c/Mega_Ranged_Creep_Radiant_model.png?version=315c56b182b21dfdbbafcafe3fa7844c"},
  16.             {"Dire Mega Ranged Creep","Dire","1015","1","131-136","500","21-28","22","https://gamepedia.cursecdn.com/dota2_gamepedia/b/b5/Mega_Ranged_Creep_Dire_model.png?version=916b3bd5712b6579cfbb81e6e48c0334"},
  17.             {"Radiant Super Siege Creep","Radiant","875","0","51-62","690","66-80","88","https://gamepedia.cursecdn.com/dota2_gamepedia/5/56/Siege_Creep_Radiant_model.png?version=e29899d47f7c8374903f57cd027c3b3d"},
  18.             {"Dire Super Siege Creep","Radiant","875","0","51-62","690","66-80","88","https://gamepedia.cursecdn.com/dota2_gamepedia/6/6a/Siege_Creep_Dire_model.png?version=37ba9fefa64d683684bc1f3959f005ab"}
  19.  
  20.     };
  21.     public static ArrayList<Creep> getListData() {
  22.         Creep creep = null;
  23.         ArrayList<Creep> list = new ArrayList<>();
  24.         for (String[] aData : data) {
  25.             creep = new Creep();
  26.             creep.setName(aData[0]);
  27.             creep.setCamp(aData[1]);
  28.             creep.setStat1(aData[2]);
  29.             creep.setStat2(aData[3]);
  30.             creep.setStat3(aData[4]);
  31.             creep.setStat4(aData[5]);
  32.             creep.setStat5(aData[6]);
  33.             creep.setStat6(aData[7]);
  34.  
  35.             creep.setImg(aData[8]);
  36.  
  37.             list.add(creep);
  38.  
  39.         }
  40.         return list;
  41.     }
  42. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top