Browse Source

Quest System

lakebane-questing
FatBoy-DOTC 2 weeks ago
parent
commit
0b5c3c7c9b
  1. 4
      src/engine/QuestSystem/QuestManager.java

4
src/engine/QuestSystem/QuestManager.java

@ -11,8 +11,8 @@ import java.util.HashSet;
import java.util.Random; import java.util.Random;
public class QuestManager { public class QuestManager {
public static HashMap<PlayerCharacter,QuestObject> acceptedQuests; public static HashMap<PlayerCharacter,QuestObject> acceptedQuests = new HashMap<>();
public static HashMap<PlayerCharacter,ArrayList<String>> completedQuests; public static HashMap<PlayerCharacter,ArrayList<String>> completedQuests = new HashMap<>();
public static boolean grantsQuest(NPC npc){ public static boolean grantsQuest(NPC npc){
if(npc == null) if(npc == null)

Loading…
Cancel
Save