forked from bit/DotRecastNetSim
28 lines
885 B
C#
28 lines
885 B
C#
using DotRecast.Core;
|
|
|
|
namespace DotRecast.Recast.Toolset.Tools
|
|
{
|
|
public class CrowdToolMode
|
|
{
|
|
public static readonly CrowdToolMode CREATE = new CrowdToolMode(0, "Create Agents");
|
|
public static readonly CrowdToolMode MOVE_TARGET = new CrowdToolMode(1, "Move Target");
|
|
public static readonly CrowdToolMode SELECT = new CrowdToolMode(2, "Select Agent");
|
|
public static readonly CrowdToolMode TOGGLE_POLYS = new CrowdToolMode(3, "Toggle Polys");
|
|
|
|
public static readonly RcImmutableArray<CrowdToolMode> Values = RcImmutableArray.Create(
|
|
CREATE,
|
|
MOVE_TARGET,
|
|
SELECT,
|
|
TOGGLE_POLYS
|
|
);
|
|
|
|
public int Idx { get; }
|
|
public string Label { get; }
|
|
|
|
private CrowdToolMode(int idx, string label)
|
|
{
|
|
Idx = idx;
|
|
Label = label;
|
|
}
|
|
}
|
|
} |