28 lines
595 B
C++
28 lines
595 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 PokerTakeBlindsEvent : public PokerGameEvent {
|
|
protected:
|
|
void onStart() override {
|
|
PokerGameEvent::onStart();
|
|
this->pokerGame->takeBlinds();
|
|
}
|
|
|
|
bool_t onUpdate() override {
|
|
return false;
|
|
}
|
|
|
|
void onEnd() override {
|
|
}
|
|
|
|
public:
|
|
PokerTakeBlindsEvent(VisualNovelManager *manager) : PokerGameEvent(manager) {
|
|
}
|
|
};
|
|
} |