You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
537 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/****************************************************
文件IState.cs
作者Plane
邮箱: 1785275942@qq.com
日期2019/03/19 6:38
功能:状态接口
*****************************************************/
public interface IState {
void Enter(EntityBase entity, params object[] args);//可变参数
void Process(EntityBase entity, params object[] args);
void Exit(EntityBase entity, params object[] args);
}
public enum AniState {
None,
Born,
Idle,
Move,
Attack,
Hit,
Die
}