forked from cjohnson57/RandomizerAlgorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocation.cs
More file actions
25 lines (22 loc) · 719 Bytes
/
Location.cs
File metadata and controls
25 lines (22 loc) · 719 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
using System;
using System.Collections.Generic;
using System.Text;
namespace RandomizerAlgorithms
{
//This class represents an edge from a region to an item location and records what item is placed in that location
class Location
{
public string Name;
public string Requirements; //Key item requirements to traverse this edge
public Item Item = new Item(); //What item is placed in this location
//Empty constructor
public Location() { }
//All parameters specified
public Location(string name, string requirements, Item item)
{
Name = name;
Requirements = requirements;
Item = item;
}
}
}