public static void SetHashLine(PlaygroundTypes pt) { switch (pt) { case PlaygroundTypes.HighSchool: Left = 8.9; Right = -8.9; break; case PlaygroundTypes.NCAA: Left = 6.67; Right = -6.67; break; case PlaygroundTypes.NFL: Left = 3.1; Right = -3.1; break; case PlaygroundTypes.CFL: Left = 8.5; Right = -8.5; break; } }
public void SetPlayground(PlaygroundTypes pt) { foreach (Playground playground in Playgrounds) { if (playground.PlaygroundType == pt) { playground.Use = true; } else { playground.Use = false; } } }
public Playground(PlaygroundTypes pt) { playgroundType = pt; playgroundName = pt.ToString(); }