File indexing completed on 2024-10-06 06:48:47
0001 /* 0002 This file is part of KsirK. 0003 SPDX-FileCopyrightText: 2023 Friedrich W. H. Kossebau <kossebau@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "gamesequence.h" 0009 0010 // own 0011 #include "gameautomaton.h" 0012 0013 namespace Ksirk{ 0014 namespace GameLogic { 0015 0016 GameSequence::GameSequence(GameAutomaton *gameAutomation) 0017 : m_gameAutomation(gameAutomation) 0018 { 0019 } 0020 0021 GameSequence::~GameSequence() = default; 0022 0023 KPlayer *GameSequence::nextPlayer(KPlayer *last, bool exclusive) 0024 { 0025 return m_gameAutomation->doNextPlayer(last, exclusive); 0026 } 0027 0028 } 0029 } 0030 0031 #include "moc_gamesequence.cpp"