Are there any FIFO data structures in gdscript?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nahumus

I wanna implement a ctrl+z feature for my board game, and for that I would like to use a FIFO (first in first out) data structure like a stack in other languages. I know I can do that with an array but I think it’s more clean with a built in FIFO.

:bust_in_silhouette: Reply From: Wakatta

It’s even more so with UndoRedo

I opened a new question relating to your answer.

Nahumus | 2021-03-31 10:29

Sorry I wasn’t able to answer in a timely manner but it looks like you’ve sort it all out.
Alls well that ends well.

Wakatta | 2021-03-31 18:03