Last active
November 23, 2015 00:47
-
-
Save bsthomsen/3b8e78633f3648d616b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var threes = new List<Three> | |
{ | |
new Three(ThreeType.Ferocity) | |
{ | |
ThreeRows = new List<ThreeRow>() | |
{ | |
new ThreeRow() | |
{ | |
Priority = 0, | |
MaxPointsInRow = 5, | |
Masteries = new List<Mastery>() | |
{ | |
new Mastery() | |
{ | |
Position = Position.Left, | |
Name = "Mastery Name", | |
MaxPoints = 5 | |
}, | |
new Mastery() | |
{ | |
Position = Position.Right, | |
Name = "Mastery Name", | |
MaxPoints = 5 | |
} | |
} | |
}, | |
new ThreeRow() | |
{ | |
Priority = 0, | |
MaxPointsInRow = 1, | |
Masteries = new List<Mastery>() | |
{ | |
new Mastery() | |
{ | |
Position = Position.Left, | |
Name = "Mastery Name", | |
MaxPoints = 1 | |
}, | |
new Mastery() | |
{ | |
Position = Position.Right, | |
Name = "Mastery Name", | |
MaxPoints = 1 | |
} | |
} | |
}, | |
new ThreeRow() | |
{ | |
Priority = 0, | |
MaxPointsInRow = 5, | |
Masteries = new List<Mastery>() | |
{ | |
new Mastery() | |
{ | |
Position = Position.Left, | |
Name = "Mastery Name", | |
MaxPoints = 5 | |
}, | |
new Mastery() | |
{ | |
Position = Position.Center, | |
Name = "Mastery Name", | |
MaxPoints = 5 | |
}, | |
new Mastery() | |
{ | |
Position = Position.Right, | |
Name = "Mastery Name", | |
MaxPoints = 5 | |
} | |
} | |
} | |
} | |
} | |
}; | |
public enum ThreeType | |
{ | |
Ferocity = 0, | |
Cunning = 1, | |
Resolve = 2 | |
} | |
public enum Position | |
{ | |
Left = 0, | |
Center = 1, | |
Right = 2 | |
} | |
public class Three | |
{ | |
public Three(ThreeType type) | |
{ | |
ThreeType = type; | |
} | |
public ThreeType ThreeType { get; set; } | |
public List<ThreeRow> ThreeRows { get; set; } | |
} | |
public class ThreeRow | |
{ | |
public int Priority { get; set; } | |
public int MaxPointsInRow { get; set; } | |
public List<Mastery> Masteries { get; set; } | |
} | |
public class Mastery | |
{ | |
public string Name { get; set; } | |
public Position Position { get; set; } | |
public int Points { get; set; } | |
public int MaxPoints { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment