59 lines
944 B
C#
59 lines
944 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace ET
|
|
{
|
|
public enum MainStoryAIType
|
|
{
|
|
None,
|
|
Normal,
|
|
VIP
|
|
}
|
|
public class MainStoryAI : Entity
|
|
{
|
|
public enum State
|
|
{
|
|
Idle,
|
|
Transfer,
|
|
Battle,
|
|
Move
|
|
}
|
|
|
|
public enum MapType
|
|
{
|
|
City,
|
|
Map
|
|
}
|
|
|
|
public enum Produrce
|
|
{
|
|
Idle,
|
|
MoveToCityTransPoint,
|
|
CityTrans,
|
|
MoveToMonster,
|
|
Battle,
|
|
MoveToMapTransPoint,
|
|
MapTrans
|
|
}
|
|
|
|
public int sceneId;
|
|
|
|
public int layer;
|
|
|
|
public Team team;
|
|
|
|
public MapType mapType;
|
|
|
|
public State state;
|
|
|
|
public Produrce currProdurce;
|
|
|
|
public Produrce nextProdurce;
|
|
|
|
public Vector2 targetPos;
|
|
|
|
public long timerId;
|
|
}
|
|
}
|