summaryrefslogtreecommitdiffstats
path: root/src/Generating/VerticalStrategy.h
blob: d42f85d4b49f29ead78d5f526ddd9464817efb45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

// VerticalStrategy.h

// Declares the public interface for cPiece's cVerticalStrategy implementations





#pragma once

#include "PiecePool.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);