long currentTime2 = Calendar.getInstance().getTimeInMillis() - initialTime;
if (currentTime2 - tower.getMomentOfLastShot() >= tower.getCadence()) {
System.out.println("Tower Attack !!!!");
AttackAgent shotCommand = new AttackAgent(agent, tower.getMight());
Engine.getInstance().getCommands().add(shotCommand);
tower.setMomentOfLastShot(currentTime2);
}
}