using System; using UnityEngine; namespace Framework.Actors.Platformer { /// Move that can be performed by an AI-controlled actor public class AiMove : PlatformerMove { /// Called once when the movement is assigned to an actor /// Actor the movement has been assigned to protected override void Awake(ActorController actor) { base.Awake(actor); this.moveRepository = actor.GetComponent(); } /// Repository storing other moves to which this one can switch private AiMoveRepository moveRepository; } } // namespace Framework.Actors.Platformer