|
DynaMix
1.3.7
A new take on polymorphism in C++
|
#include <common_mutation_rules.hpp>
Public Member Functions | |
| virtual void | apply_to (object_type_mutation &mutation) override |
| Called when applying the mutation rule. | |
Protected Attributes | |
| const mixin_id | _id |
A mutation rule for a mandatory mixin.
If active, such rule will cause every mutation to always add the mixin to an object and will ignore any attempts of a mutation to remove it.
| Mixin | The mandatory mixin type |