diff options
Diffstat (limited to 'src/Generating/VerticalStrategy.h')
-rw-r--r-- | src/Generating/VerticalStrategy.h | 25 |
1 files changed, 25 insertions, 0 deletions
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 "<StrategyClass>|<Params>". 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); + + + + |