Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class prt
- {
- enum letters { A = 1, B, C, D, E, F, G, H }
- struct Step
- {
- letters l1;
- int n1;
- letters l2;
- int n2;
- public Step(letters il1, int in1, letters il2, int in2)
- {
- l1 = il1;
- n1 = in1;
- l2 = il2;
- n2 = in2;
- }
- }
- private Step[] fst;
- private Step[] scnd;
- public prt()
- {
- List<Step> lfst = new List<Step>();
- List<Step> lscnd = new List<Step>();
- lfst.Add(new Step(letters.A, 1, letters.B, 2));
- lscnd.Add(new Step(letters.A, 1, letters.B, 2));
- lfst.Add(new Step(letters.A, 1, letters.B, 2));
- lscnd.Add(new Step(letters.A, 1, letters.B, 2));
- lfst.Add(new Step(letters.A, 1, letters.B, 2));
- lscnd.Add(new Step(letters.A, 1, letters.B, 2));
- fst = lfst.ToArray();
- scnd = lscnd.ToArray();
- }
- //methods
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement