Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace CreatureLib::Library{
|
||||
namespace CreatureLib::Library {
|
||||
class TypeLibrary {
|
||||
std::unordered_map<std::string, uint8_t > _types;
|
||||
std::unordered_map<std::string, uint8_t> _types;
|
||||
std::vector<std::vector<float>> _effectiveness;
|
||||
|
||||
public:
|
||||
uint8_t GetTypeId(const std::string& s) const;
|
||||
float GetSingleEffectiveness(uint8_t attacking, uint8_t defensive) const;
|
||||
@@ -18,5 +19,4 @@ namespace CreatureLib::Library{
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //CREATURELIB_TYPELIBRARY_HPP
|
||||
#endif // CREATURELIB_TYPELIBRARY_HPP
|
||||
|
||||
Reference in New Issue
Block a user