How can I use a timer to delay a specific task not associated with the timer class (java.util.timer)?
<p>I am making a text-based RPG for a personal project in Java. In the game the protagonist will have at his/her disposal the ability to use a spell or ability. I would like to add a cool down to the aforementioned spell or ability. I have researched both the javax.swing.Timer and java.util.Timer classes but have not found a way to go about using this cool down. I am not using threads or daemons (primarily because I don't think I need to and I have zero experience with them). </p>

<p>Any help or ideas on how to go about this would be appreciated, thanks.</p>

<ul>
<li>Alumnus</li>
</ul>
