| 91 | */ |
| 92 | template <typename Tspec, typename Tindex, Tindex Tmax> |
| 93 | uint NewGRFClass<Tspec, Tindex, Tmax>::GetClassCount() |
| 94 | { |
| 95 | return static_cast<uint>(NewGRFClass::classes.size()); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Get the number of classes available to the user. |
no test coverage detected