Added tick() method to Effect class.