In this tutorial i teach you how to make a inventory.
Code:
Main class: http://pastebin.com/5EEH66s3
Player class: http://pastebin.com/7yAaykUf
Again all that addItemToInv does is it loops and if the inventory slot is empty it will add the item you put in.
Thanks for watching sub, fave, like, comment. BYE: D
Gooby plox.
Sur cette page du site, vous pouvez voir la vidéo en ligne Java tutorial #29 Little inventory program. durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Suktangprogramming 28 juillet 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 37,246 fois et il a aimé 128 téléspectateurs. Bon visionnage!