Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is the max ammount of itemtypes we can have on a player
- int playerBar[5][2]={} // don't know if the're initialised so here just in case {0,0,0,0,0}
- //playerBar[x][y] x = ItemSlotValue
- //playerBar[x][y] y = ItemCount
- bool Player::addItem(int itemId){
- bool spaceForItem = false;// we will check if it is room in the inventory to place the item
- for(int itemSlot = 0 ;itemSlot <= 5)
- {
- }
- return spaceForItem;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement