Files
2022-10-26 12:25:11 +08:00

27 lines
380 B
C++

#pragma once
#include "Action.h"
#include "public/ShopDefine.h"
#include "CShopActtion.hpp"
class CShopActionFactory
{
public:
CShopActionFactory()
{
m_pAction = new CShopAction;
};
~CShopActionFactory()
{
if(m_pAction) delete m_pAction, m_pAction = NULL;
};
CShopAction* GetShopActionObj()
{
return m_pAction;
};
private:
CShopAction* m_pAction;
};