PART EIGHT
PLANTING

SEEDS

Adding Seeds

Abstract Classes

Item and Subclasses

ITEMBAR

ItemBar Class

PROJECT ORGANIZATION

Composition "has-a"

Inheritance  "is-a"

Rendering

You'll want something that looks like this.  Experiment to find the right spacing and placement.

CHECKPOINT
Run your code and see...

SELECTION FRAMEWORK

Selection

CHECKPOINT
Run your code and see...

Hotkeys

CHECKPOINT
Run your code and see...

CHANGING THE CURSOR

Game Container

SetCursor

CHECKPOINT
Run your code and see...

PLANTING CROPS

Making Crops

Adding Parameters

This code is in Game, which will start everything rolling by passing the appropriate item to the world's click method.

Planting In Dirt

CHECKPOINT
Run your code and see...

CONSUMING SEEDS

Expiration

CHECKPOINT
Run your code and see...