-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuest.cs
33 lines (27 loc) · 894 Bytes
/
Quest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
public class Quest
{
public string Description;
public int ID;
public string Name;
public bool Cleared = false;
public Quest(int id ,string name ,string Description)
{
this.ID = id;
this.Name = name;
this.Description = Description;
}
public void showAvailableQuests(Quest quest)
{
Console.WriteLine("Available quests:");
Console.WriteLine("---Quest Title---");
Console.WriteLine("---" + quest.Name + "---");
Console.WriteLine("---Quest Description---");
Console.WriteLine(quest.Description);
Console.WriteLine("--------");
}
public void showMonster(Monster monster)
{
Console.WriteLine("The following monster is living here:");
Console.WriteLine("You see a " + monster.Name);
}
}