equal
deleted
inserted
replaced
71 public: |
71 public: |
72 /** |
72 /** |
73 * The name of the class, needed by several sub-processes. |
73 * The name of the class, needed by several sub-processes. |
74 */ |
74 */ |
75 static const char *GetClassName() { return "AITileListSlope"; } |
75 static const char *GetClassName() { return "AITileListSlope"; } |
|
76 |
|
77 private: |
|
78 int32 Valuate(int32 tile) const; |
|
79 }; |
|
80 |
|
81 /** |
|
82 * Check the height of the tiles in an AITileList instance. |
|
83 * @note resulting items are of the type int32 (height, ranging from 0 to 15) |
|
84 * @note the input items are of the type TileIndex |
|
85 */ |
|
86 class AITileListHeight : public AIAbstractList::Valuator { |
|
87 public: |
|
88 /** |
|
89 * The name of the class, needed by several sub-processes. |
|
90 */ |
|
91 static const char *GetClassName() { return "AITileListHeight"; } |
76 |
92 |
77 private: |
93 private: |
78 int32 Valuate(int32 tile) const; |
94 int32 Valuate(int32 tile) const; |
79 }; |
95 }; |
80 |
96 |