That is the first in the tower defence genre where you defend aswell as you attack. Nice take: Maybe you can develop a mechanic where your actions as a defender before has influence on the way the game is setup when you have to attack it again :D. Just an idea.