Skip to content

Instantly share code, notes, and snippets.

@chancez
Created July 29, 2012 02:32
Show Gist options
  • Save chancez/3195813 to your computer and use it in GitHub Desktop.
Save chancez/3195813 to your computer and use it in GitHub Desktop.
Queue::Queue(int a_size): size(0), front(0), rear(0), MAX_CAPACITY(a_size), items(NULL)
{
//Create an array of potions with the size passed to the constructor
items = new Potion[a_size];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment