-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathItem.cs
More file actions
33 lines (30 loc) · 747 Bytes
/
Item.cs
File metadata and controls
33 lines (30 loc) · 747 Bytes
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
using System;
using System.Collections.Generic;
using System.Text;
namespace RandomizerAlgorithms
{
//This class represents and item
//Items are placed in locations, which are placed in regions
class Item
{
public string Name;
//3 = Goal Item
//2 = Major/Key item, unlocks exits and locations
//1 = Helpful item
//0 = Junk Item
//-1 = Empty Location
public int Importance;
//Default, empty item
public Item()
{
Name = null;
Importance = -1;
}
//Parameters specified
public Item(string name, int importance)
{
Name = name;
Importance = importance;
}
}
}