equal
deleted
inserted
replaced
16 public: |
16 public: |
17 /** |
17 /** |
18 * The name of the class, needed by several sub-processes. |
18 * The name of the class, needed by several sub-processes. |
19 */ |
19 */ |
20 static const char *GetClassName() { return "AITileListBuildable"; } |
20 static const char *GetClassName() { return "AITileListBuildable"; } |
|
21 |
|
22 private: |
|
23 int32 Valuate(int32 tile) const; |
|
24 }; |
|
25 |
|
26 /** |
|
27 * Check how tiles in an AITileList instance are sloped. |
|
28 * @note resulting items are of the type int32 (0 = flat, > 1 = slope) |
|
29 * @note the input items are of the type TileIndex |
|
30 */ |
|
31 class AITileListSlope : public AIAbstractList::Valuator { |
|
32 public: |
|
33 /** |
|
34 * The name of the class, needed by several sub-processes. |
|
35 */ |
|
36 static const char *GetClassName() { return "AITileListSlope"; } |
21 |
37 |
22 private: |
38 private: |
23 int32 Valuate(int32 tile) const; |
39 int32 Valuate(int32 tile) const; |
24 }; |
40 }; |
25 |
41 |