コード例 #1
0
ファイル: Level1.cs プロジェクト: sagarpatel/CosmicCurling
        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
ファイル: Level1.cs プロジェクト: sagarpatel/CosmicCurling
        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);
        }