Advertisement
james1bow

Untitled

Apr 15th, 2025
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1. package rpcore.races;
  2.  
  3. import net.risingworld.api.assets.TextureAsset;
  4. import rpcore.RPCore;
  5. import java.util.HashMap;
  6.  
  7. public class Race {
  8.  
  9.     private RPCore rpCore;
  10.     public String name = null;
  11.     public HashMap<String, TextureAsset> avatars = null;
  12.     public HashMap<String, String[]> raceInfo = null;
  13.  
  14.     public Race(RPCore rpCore,String name) {
  15.         this.rpCore = rpCore;
  16.         this.name = name;
  17.     }
  18.  
  19.     protected void buildRace(HashMap<String, TextureAsset> avatars, HashMap<String, String[]> raceInfo){
  20.         this.avatars = avatars;
  21.         this.raceInfo = raceInfo;
  22.     }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement