Fixed a scaling issue.
first basic pathing added.
made paths transparent. added fixed speed.
Spawning units only works when there are no units out already.
Fixed pathing so it reaches the end. Added a postAnimation function to Unit() that gets called after the move animation finishes.
Changed it so you can't click on any rects while units are moving.
Added checkpoints to the pathing.
Moved init() to the bottom of the file
removed two checkpoints
Created the basic tower and projectile objects.
Added a main game loop. towers now spawn projectiles. towers and projectiles update with the game loop. added reset to remove all projectiles and reset towers. reset is triggered when all units are gone.
Minor changes.
Added broken collision detection