コード例 #1
0
        public CollisionLevelPiece(Game game, GameplayScreen host, String assetName)
            : base(game, host, assetName)
        {
            //all collision pieces are checker planes
            modelName = "checker_plane_3";
            TVIndices = new List <MeshDataExtractor.TriangleVertexIndices>();
            verticies = new List <Vector3>();

            nonCollideAsset = new LevelPieceAsset(game, host, "cloud_2");
            //nonCollideAsset = new LevelPieceAsset(game, host, "DragonBall");
        }
コード例 #2
0
        public CollisionLevelPiece(Game game, GameplayScreen host, String assetName)
            : base(game, host, assetName)
        {
            //all collision pieces are checker planes
            modelName = "checker_plane_3";
            TVIndices = new List<MeshDataExtractor.TriangleVertexIndices>();
            verticies = new List<Vector3>();

            nonCollideAsset = new LevelPieceAsset(game, host, "cloud_2");
            //nonCollideAsset = new LevelPieceAsset(game, host, "DragonBall");
        }