示例#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;
 }