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/IStrategy.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 V3/AI/IStrategy.cs (limited to 'V3/AI/IStrategy.cs') diff --git a/V3/AI/IStrategy.cs b/V3/AI/IStrategy.cs new file mode 100644 index 0000000..4bfb99c --- /dev/null +++ b/V3/AI/IStrategy.cs @@ -0,0 +1,17 @@ +namespace V3.AI +{ + /// + /// A strategy for the computer player. A strategy is a finite state + /// machine. + /// + public interface IStrategy + { + /// + /// Updates the current state according to the game situtation. + /// + /// the current state + /// the current view of the game world + /// the next state indicated by this strategy + AiState Update(AiState state, IWorldView worldView); + } +} -- cgit v1.2.1