Пример #1
0
        protected BaseModeScreen(GameMode mode)
        {
            Mode = mode;

            // Default GUI Components
            GuiComponents = new List<IDrawableGameComponent>();
            GuiComponents.AddRange(new IDrawableGameComponent[]
            {
                new PlayerPanelsComponent(Mode),
                new GameModeInformationComponent(Mode),
                new DartScoreComponent(Mode),
                new BigScoreComponent(Mode)
            });
        }
Пример #2
0
 public PointsPerDartComponent(GameMode mode)
 {
     _mode = mode;
 }
Пример #3
0
 public RoundScoresComponent(GameMode mode)
 {
     _mode = mode;
 }
Пример #4
0
 public BigScoreComponent(GameMode mode)
 {
     _mode = mode;
 }
Пример #5
0
 public DartScoreComponent(GameMode mode)
 {
     _mode = mode;
     Position = new Vector2(0.5f, 0.7f);
 }
Пример #6
0
 public PlayerPanelsComponent(GameMode mode)
 {
     _mode = mode;
 }