2015-09-29 23:08:15 +00:00
|
|
|
#ifndef GODRAYSDEFINITION_H
|
|
|
|
#define GODRAYSDEFINITION_H
|
|
|
|
|
|
|
|
#include "definition_global.h"
|
|
|
|
|
|
|
|
#include "DefinitionNode.h"
|
|
|
|
|
|
|
|
namespace paysages {
|
|
|
|
namespace definition {
|
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
class DEFINITIONSHARED_EXPORT GodRaysDefinition : public DefinitionNode {
|
|
|
|
public:
|
2015-09-29 23:08:15 +00:00
|
|
|
GodRaysDefinition(DefinitionNode *parent);
|
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
inline FloatNode *propPenetration() const {
|
|
|
|
return penetration;
|
|
|
|
}
|
|
|
|
inline FloatNode *propResistance() const {
|
|
|
|
return resistance;
|
|
|
|
}
|
|
|
|
inline FloatNode *propBoost() const {
|
|
|
|
return boost;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
2015-09-29 23:08:15 +00:00
|
|
|
FloatNode *penetration;
|
|
|
|
FloatNode *resistance;
|
|
|
|
FloatNode *boost;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // GODRAYSDEFINITION_H
|