A Deque is a little bit stronger than a Stack, and you can pop things off the bottom to reduce the size of the list if you know you only need the last N elements added. Storing the Lootbox should be easier if the Lootbox is just a couple of values (now that you've removed the Random Number Generator, which is a heavier object).
A Deque is a little bit stronger than a Stack, and you can pop things off the bottom to reduce the size of the list if you know you only need the last N elements added. Storing the Lootbox should be easier if the Lootbox is just a couple of values (now that you've removed the Random Number Generator, which is a heavier object).