I need a class to act as a simple timer

Ideally I would like to pass a variable to the class and get the delay I want ie Timer.wait(15)

Any ideas?