User Tools

Site Tools


basic_cannon_defender

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

basic_cannon_defender.txt · Last modified: 2019/05/22 10:48 by frchris