grafkendo / Shroomy

basic game built in processing
Other
0 stars 0 forks source link

move init code out of main function #4

Open grafkendo opened 7 years ago

grafkendo commented 7 years ago

still too much setup code in the main fine for a prototype but it's time to move back out to the class constructors.

initInventory();
initPlayer();
initShrooms();

these should all go to the class constructors respectively.

grafkendo commented 7 years ago

inventory moved out of main have not solved issue with loading images outside of setup

grafkendo commented 7 years ago

moved most of mushroom init code out of main similar solution could work for player its not critical at this point