yyl
5 天以前 973edc44a04dceb8b48a32ca912e6167f86189d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using LitJson;
using System;
using System.Collections;
using System.Collections.Generic;
 
 
public static class BattleFieldFactory
{
 
    public static BattleField CreateBattleField(string guid, int MapID, int FuncLineID, JsonData extendData, List<TeamBase> redTeamList, List<TeamBase> blueTeamList)
    {
        BattleField battleField = null;
 
 
        switch (MapID)
        {
            case 1:
            case 2:
                battleField = new StoryBattleField();
                break;
            default:
                break;
        }
 
        return battleField;
    }
 
 
}