28 lines
768 B
C#
28 lines
768 B
C#
namespace Colosseum.Enemy
|
|
{
|
|
/// <summary>
|
|
/// 보스 전투 BT에서 사용하는 공통 패턴 역할 구분값입니다.
|
|
/// </summary>
|
|
public enum BossCombatPatternRole
|
|
{
|
|
Primary = 0,
|
|
Secondary = 1,
|
|
Mobility = 2,
|
|
Punish = 3,
|
|
}
|
|
|
|
/// <summary>
|
|
/// 공통 패턴 역할 보조 확장 메서드입니다.
|
|
/// </summary>
|
|
public static class BossCombatPatternRoleExtensions
|
|
{
|
|
/// <summary>
|
|
/// 현재 역할이 근접 순환 패턴인지 반환합니다.
|
|
/// </summary>
|
|
public static bool IsMeleeRole(this BossCombatPatternRole role)
|
|
{
|
|
return role == BossCombatPatternRole.Primary || role == BossCombatPatternRole.Secondary;
|
|
}
|
|
}
|
|
}
|