Added basic betting, turns, and added queue restacking

This commit is contained in:
2021-08-13 09:32:15 -07:00
parent 42de949822
commit e66610b933
14 changed files with 217 additions and 8 deletions

View File

@ -7,6 +7,7 @@
#pragma once
#include <dawn/dawn.h>
#include "../../util/array.h"
/**
* Initialize the queue set.
@ -41,10 +42,17 @@ void queueUpdate(queue_t *queue, engine_t *engine);
*/
void queueDispose(queue_t *queue);
/**
* Restacks the queue. The restack process essentially rewinds the queue so that
* the current items move back to position 0, and allows you to add more items
* to the queue again.
*
* @param queue Queue to restack.
*/
void queueRestack(queue_t *queue);
/** Callbacks for Queue Delay Action */
void _queueDelayUpdate(queue_t *queue, queueaction_t *action, uint8_t i);
/**
* Adds a delay action to a queue.
* @param queue Queue to add to.