12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using CommonAI.ZoneClient;
- using CommonAI.Zone;
- using CommonLang;
- namespace CommonAIClient.Unity.Battle
- {
- public interface IComAIActor
- {
- }
- /// <summary>
- /// 主角
- /// </summary>
- public class ComAIActor : ComAIUnit, IComAIActor
- {
- protected ZoneActor ZActor { get { return ZObject as ZoneActor; } }
- public ComAIActor(BattleScene battleScene, ZoneActor obj)
- : base(battleScene, obj)
- {
- }
- public void SendUnitAxis(float dx, float dy, bool smooth_turn = false)
- {
- ZActor.SendUnitAxis(dx, dy, smooth_turn);
- }
- public void SendUnitLaunchSkill(UnitLaunchSkillAction launch)
- {
- ZActor.SendUnitLaunchSkill(launch);
- }
- public void SendUnitLaunchSkill(int skillID)
- {
- ZActor.SendUnitLaunchSkill(skillID);
- }
- public void SendUnitLaunchSkill(int skillID, uint targetObjectID)
- {
- ZActor.SendUnitLaunchSkill(skillID, targetObjectID);
- }
- public void SendUnitLaunchSkill(int skillID, float x, float y)
- {
- ZActor.SendUnitLaunchSkill(skillID, x, y);
- }
- }
- }
|