Castle Defense

Here are two classes, a CannonBall class and a BasicCannon class which is a Graphics Application with a timer (so objects can act over time – like fall), and a Keyboard input so that it can react to the arrow keys (Up and down for the angle of the Cannon, and left-right for changing the force (which costs the use gunpowder). castle_defense.zip