公告板
版本库
filestore
活动
搜索
登录
main
/
Project_SG_scripts
三国卡牌客户端代码仓库
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
yyl
5 天以前
973edc44a04dceb8b48a32ca912e6167f86189d4
[Project_SG_scripts.git]
/
Main
/
System
/
Battle
/
BattleFieldFactory.cs
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;
}
}