using Microsoft.Xna.Framework; using V3.Objects; namespace V3.AI.Internal { /// /// Creates IAction instances. Automatically implemented by Ninject. /// public interface IActionFactory { /// /// Creates a new MoveAction to move the given creature to the given /// destination. /// /// the creature to mvoe /// the destination of the creature MoveAction CreateMoveAction(ICreature creature, Vector2 destination); /// /// Creates a new SpawnAction that spawns the given creature at the /// given position. /// /// the creature to spawn /// the spawn position SpawnAction CreateSpawnAction(ICreature creature, Vector2 position); } }