From ced3d03bdb3ce866d832e03fb212865140905a9a Mon Sep 17 00:00:00 2001 From: Thomas Leyh Date: Sun, 24 Jul 2016 08:14:18 +0200 Subject: Add project files. --- V3/AI/IAction.cs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 V3/AI/IAction.cs (limited to 'V3/AI/IAction.cs') diff --git a/V3/AI/IAction.cs b/V3/AI/IAction.cs new file mode 100644 index 0000000..b68355f --- /dev/null +++ b/V3/AI/IAction.cs @@ -0,0 +1,24 @@ +namespace V3.AI +{ + /// + /// An action that can be taken by the computer player. + /// + public interface IAction + { + /// + /// The current state of the action. + /// + ActionState State { get; } + + /// + /// Start the execution of the action. + /// + void Start(); + + /// + /// Update the execution state. This method should be repateatingly + /// called as long as State is Executing. + /// + void Update(); + } +} -- cgit v1.2.1