// Copyright (c) 2021 Dominic Masters
// 
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT

#pragma once
#include "../../../libs.h"
#include "../../../poker/player.h"
#include "../../../poker/dealer.h"
#include "../../../poker/poker.h"
#include "action.h"
#include "../pokerdiscussion.h"
#include "bet.h"

/** Callback that is fired when the round start event starts. */
void _pokerGameActionRoundOnStart(
  queue_t *queue, queueaction_t *action, uint8_t i
);

/** Callback that is fired when the round action ends. */
void _pokerGameActionRoundOnEnd(queue_t *queue,queueaction_t *action,uint8_t i);

/**
 * Queues the round starting action onto the game. Handles talking VN logic.
 * 
 * @param game Game to add to.
 * @return The queued action.
 */
queueaction_t * pokerGameActionRoundAdd(pokergame_t *game);