<?php

/**
 * 检查删除过期大乱斗房间
 */

namespace Server\Model\Player;

use Framework\Log\LogMark;
use Game\Logic\Activity\ScuffleLogic;
use Server\Model\IServerBase;

class CheckScuffleRoom implements IServerBase
{
    use ScuffleLogic;

    public function init(): bool
    {
        LogMark::getInstance()->markInfo("check time out scuffle room init success!");
        return true;
    }

    public function close()
    {
    }

    public function run($nowTime)
    {
        $this->delOverTimeScuffleRoom();
    }
}
