Created
July 29, 2012 02:32
-
-
Save chancez/3195813 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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