import Locator from '../services/Locator';
import Activity from './Activity';

/** Restarts the shared game clock. */
export default class ResumeClock extends Activity
{
    constructor()
    {
        super('ResumeClock');
    }

    override async execute(): Promise<void>
    {
        const clock = Locator.clock as { resume: () => void };

        clock.resume();
    }
}
