29 lines
667 B
C++
29 lines
667 B
C++
// Copyright (c) 2022 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include "PokerGameEvent.hpp"
|
|
|
|
namespace Dawn {
|
|
class PokerNewGameEvent : public PokerGameEvent {
|
|
protected:
|
|
void onStart(IVisualNovelEvent *previous) override {
|
|
PokerGameEvent::onStart(previous);
|
|
std::cout << "New Game" << std::endl;
|
|
this->pokerGame->newGame();
|
|
}
|
|
|
|
bool_t onUpdate() override {
|
|
return false;
|
|
}
|
|
|
|
void onEnd() override {
|
|
}
|
|
|
|
public:
|
|
PokerNewGameEvent(VisualNovelManager *manager) : PokerGameEvent(manager) {
|
|
}
|
|
};
|
|
} |