From b8fbba5eb92cda32b13d65f3704adf778da82f38 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 11 Nov 2015 10:32:42 +0100 Subject: Added PieceStructures generator. --- src/Generating/VerticalStrategy.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Generating/VerticalStrategy.h (limited to 'src/Generating/VerticalStrategy.h') diff --git a/src/Generating/VerticalStrategy.h b/src/Generating/VerticalStrategy.h new file mode 100644 index 000000000..77e86f660 --- /dev/null +++ b/src/Generating/VerticalStrategy.h @@ -0,0 +1,25 @@ + +// VerticalStrategy.h + +// Declares the public interface for cPiece's cVerticalStrategy implementations + + + + + +#pragma once + +#include "PieceGenerator.h" + + + + + +/** Returns a new cPiece::cVerticalStrategy descendant based on the specified description. +a_StrategyDesc is in the format "|". The params and the pipe may be omitted. +If an unknown class is requested or the param parsing fails, nullptr is returned. */ +cPiece::cVerticalStrategyPtr CreateVerticalStrategyFromString(const AString & a_StrategyDesc, bool a_LogWarnings); + + + + -- cgit v1.2.3