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:
@@ -3,23 +3,24 @@
|
||||
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include "../../GenericTemplates.cpp"
|
||||
#include "AttackCategory.hpp"
|
||||
#include "AttackTarget.hpp"
|
||||
|
||||
#include "../../GenericTemplates.cpp"
|
||||
|
||||
namespace CreatureLib::Library {
|
||||
class AttackData {
|
||||
GetProperty(std::string, Name);
|
||||
GetProperty(std::string, Type);
|
||||
GetProperty(AttackCategory , Category);
|
||||
GetProperty(uint8_t , BasePower);
|
||||
GetProperty(uint8_t , Accuracy);
|
||||
GetProperty(uint8_t , BaseUsages);
|
||||
GetProperty(AttackCategory, Category);
|
||||
GetProperty(uint8_t, BasePower);
|
||||
GetProperty(uint8_t, Accuracy);
|
||||
GetProperty(uint8_t, BaseUsages);
|
||||
GetProperty(AttackTarget, Target);
|
||||
GetProperty(uint8_t , Priority);
|
||||
GetProperty(uint8_t, Priority);
|
||||
|
||||
private:
|
||||
std::unordered_set<std::string> _flags;
|
||||
|
||||
public:
|
||||
AttackData(std::string name, std::string type, AttackCategory category, uint8_t power, uint8_t accuracy,
|
||||
uint8_t baseUsage, AttackTarget target, uint8_t priority, std::unordered_set<std::string> flags);
|
||||
@@ -28,5 +29,4 @@ namespace CreatureLib::Library {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //CREATURELIB_ATTACKDATA_HPP
|
||||
#endif // CREATURELIB_ATTACKDATA_HPP
|
||||
|
||||
Reference in New Issue
Block a user