mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 01:45:15 +00:00
initial commit
This commit is contained in:
6
include/Bot.cpp
Normal file
6
include/Bot.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <Bot.hpp>
|
||||
#include <iostream>
|
||||
|
||||
void IBot::test() {
|
||||
std::cout << "작동함";
|
||||
}
|
||||
9
include/Bot.hpp
Normal file
9
include/Bot.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include <dpp/dpp.h>
|
||||
|
||||
class IBot{
|
||||
private:
|
||||
public:
|
||||
void test();
|
||||
protected:
|
||||
};
|
||||
2
include/BumbleCee.cpp
Normal file
2
include/BumbleCee.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#include <BumbleCee.hpp>
|
||||
#include <iostream>
|
||||
15
include/BumbleCee.hpp
Normal file
15
include/BumbleCee.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <Bot.hpp>
|
||||
|
||||
class BumbleCee : public IBot {
|
||||
public:
|
||||
static BumbleCee* getInstance() {
|
||||
static BumbleCee instance;
|
||||
return &instance;
|
||||
}
|
||||
protected:
|
||||
private:
|
||||
BumbleCee() {}
|
||||
BumbleCee(const BumbleCee& ref) {}
|
||||
~BumbleCee() {}
|
||||
};
|
||||
Reference in New Issue
Block a user