PART ELEVEN
SHOP

EXPANDING ITEMS

Expanding the Item Class

Displaying Items

DISPLAY MONEY

Displaying Money and Days

Organizing Render()

ITEMBAR

Adding Items to ItemBar

Making ItemBar Static

Rendering ItemBar in Shop

CHECKPOINT
Run your code and see...

BUYING ITEMS

In this next section, we'll be using a very advanced method to make objects dynamically.  It's okay if you don't fully understand this and lean on the example code.  None of this will be on the AP Test.  But it's a powerful tool you may find to be very useful in future projects.

Item Factory

Buying Items

Detecting a Number Press

CHECKPOINT
Run your code and see...

EARNINGS

Earnings

CHECKPOINT
Run your code and see...