Dawn/src/dawn/poker/visualnovel/PokerNewGameEvent.hpp

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) {
}
};
}