Moved poker to the games dir
This commit is contained in:
27
src/dawn/games/poker/visualnovel/PokerGameEvent.hpp
Normal file
27
src/dawn/games/poker/visualnovel/PokerGameEvent.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2022 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "visualnovel/VisualNovelManager.hpp"
|
||||
#include "poker/PokerGame.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class PokerGameEvent : public IVisualNovelEvent {
|
||||
protected:
|
||||
PokerGame *pokerGame;
|
||||
|
||||
void onStart(IVisualNovelEvent *previous) override {
|
||||
pokerGame = this->manager->getScene()->findComponent<PokerGame>();
|
||||
assertNotNull(pokerGame);
|
||||
}
|
||||
|
||||
public:
|
||||
PokerGameEvent(VisualNovelManager *manager) :
|
||||
IVisualNovelEvent(manager)
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user