v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
27
source/game/items/StarAugmentItem.hpp
Normal file
27
source/game/items/StarAugmentItem.hpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef STAR_AUGMENT_ITEM_HPP
|
||||
#define STAR_AUGMENT_ITEM_HPP
|
||||
|
||||
#include "StarItem.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_CLASS(AugmentItem);
|
||||
|
||||
class AugmentItem : public Item {
|
||||
public:
|
||||
AugmentItem(Json const& config, String const& directory, Json const& parameters = JsonObject());
|
||||
AugmentItem(AugmentItem const& rhs);
|
||||
|
||||
ItemPtr clone() const override;
|
||||
|
||||
StringList augmentScripts() const;
|
||||
|
||||
// Makes no change to the given item if the augment can't be applied.
|
||||
// Consumes itself and returns true if the augment is applied.
|
||||
// Has no effect if augmentation fails.
|
||||
ItemPtr applyTo(ItemPtr const item);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue