26 lines
341 B
C++
26 lines
341 B
C++
#pragma once
|
|
|
|
#include "trigger.h"
|
|
|
|
class Creature;
|
|
class Weapon;
|
|
class Compose
|
|
{
|
|
public:
|
|
Compose(Creature* owner);
|
|
~Compose();
|
|
|
|
void Init();
|
|
|
|
private:
|
|
|
|
void Clear();
|
|
void TakeOnWeapon(Weapon* weapon);
|
|
void IncNum();
|
|
|
|
private:
|
|
Creature* owner_ = nullptr;
|
|
int num_ = 0;
|
|
std::vector<int> hold_buffs_;
|
|
};
|