36 lines
813 B
C#
36 lines
813 B
C#
using NLDPB;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Gameplay.LegionBattle
|
|
{
|
|
/// <summary>
|
|
/// 军团战格子数据
|
|
/// </summary>
|
|
public sealed class LegionBattleHexesData
|
|
{
|
|
/// <summary>
|
|
/// 索引
|
|
/// </summary>
|
|
public int Index { get; private set; }
|
|
/// <summary>
|
|
/// 所属阵营
|
|
/// </summary>
|
|
public BattlefieldActorCamp Camp { get; private set; }
|
|
|
|
public LegionBattleHexesData(int index)
|
|
{
|
|
Index = index;
|
|
Camp = BattlefieldActorCamp.BacNone;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置阵营
|
|
/// </summary>
|
|
public void SetCamp(BattlefieldActorCamp camp)
|
|
{
|
|
Camp = camp;
|
|
}
|
|
}
|
|
} |