상속: IInfo
예제 #1
0
        public World(Map map, List<Player> players, SpriteFont font, Texture2D hud, CountDown countDown)
        {
            RaceTimer = new RaceTimer();

            CountDown = countDown;
            CountDown.Start();
            Players = players;
            Map = map;
            _info = new Info(font, Map, Players, hud);
            CollisionImage = map.CollisionImage;
            Winner = null;
        }
예제 #2
0
 public void Create_Info_with_nullParams_Expect_ArgumentNullException()
 {
     Info info = new Info(null,null,null,null);
 }