예제 #1
0
        public Level1(Game game, SpriteBatch sB, World mW) : base(game, sB, mW)
        {
            obs1 = new RectangleObstacleObject(game, sB, mW);

            TopWall    = new WallObject(game, sB, mW, 1);
            RightWall  = new WallObject(game, sB, mW, 2);
            BottomWall = new WallObject(game, sB, mW, 3);
            LeftWall   = new WallObject(game, sB, mW, 4);
        }
예제 #2
0
        public Level1(Game game, SpriteBatch sB,World mW)
            : base(game,sB,mW)
        {
            obs1 = new RectangleObstacleObject(game, sB, mW);

            TopWall = new WallObject(game, sB, mW, 1);
            RightWall = new WallObject(game, sB, mW, 2);
            BottomWall = new WallObject(game, sB, mW, 3);
            LeftWall = new WallObject(game, sB, mW, 4);
        }