Skip to content
Snippets Groups Projects
Commit 70bc17e1 authored by jez04's avatar jez04
Browse files

fix: add static modifiers to some Utils methods

parent 4b94261e
No related merge requests found
......@@ -17,10 +17,10 @@ public class Utils {
"Terrorclaw", "Bloodfeast", "Ravenous Maw", "Storm Serpent", "Hellhound", "Dark Overlord", "Necroshade",
"Plaguebeast", "Stone Golem", "Fire Leviathan");
public String generateHeroName() {
public static String generateHeroName() {
return heroNames.get(RANDOM.nextInt(heroNames.size()));
}
public String generateMonsterName() {
public static String generateMonsterName() {
return monsterNames.get(RANDOM.nextInt(monsterNames.size()));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment