|
@ -24,14 +24,24 @@ namespace storm { |
|
|
if (player.getName() != "") { |
|
|
if (player.getName() != "") { |
|
|
stream << " " << player.getName(); |
|
|
stream << " " << player.getName(); |
|
|
} |
|
|
} |
|
|
stream << std::endl; |
|
|
|
|
|
|
|
|
bool firstElement = true; |
|
|
for (auto const& module : player.getModules()) { |
|
|
for (auto const& module : player.getModules()) { |
|
|
stream << "\t" << module << std::endl; |
|
|
|
|
|
|
|
|
if (firstElement) { |
|
|
|
|
|
firstElement = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
stream << ","; |
|
|
|
|
|
} |
|
|
|
|
|
stream << std::endl << "\t" << module; |
|
|
} |
|
|
} |
|
|
for (auto const& action : player.getActions()) { |
|
|
for (auto const& action : player.getActions()) { |
|
|
stream << "\t[" << action << "]" << std::endl; |
|
|
|
|
|
|
|
|
if (firstElement) { |
|
|
|
|
|
firstElement = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
stream << ","; |
|
|
|
|
|
} |
|
|
|
|
|
stream << std::endl << "\t[" << action << "]"; |
|
|
} |
|
|
} |
|
|
stream << "endplayer" << std::endl; |
|
|
|
|
|
|
|
|
stream << std::endl << "endplayer" << std::endl; |
|
|
return stream; |
|
|
return stream; |
|
|
} |
|
|
} |
|
|
} // namespace prism
|
|
|
} // namespace prism
|
|
|