Beispiel #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)
            });
        }
Beispiel #2
0
 public PointsPerDartComponent(GameMode mode)
 {
     _mode = mode;
 }
Beispiel #3
0
 public RoundScoresComponent(GameMode mode)
 {
     _mode = mode;
 }
Beispiel #4
0
 public BigScoreComponent(GameMode mode)
 {
     _mode = mode;
 }
Beispiel #5
0
 public DartScoreComponent(GameMode mode)
 {
     _mode = mode;
     Position = new Vector2(0.5f, 0.7f);
 }
Beispiel #6
0
 public PlayerPanelsComponent(GameMode mode)
 {
     _mode = mode;
 }