<?php

namespace Tool\LoadTemplate\Logic;

use Game\Constant\ConstTemplate\TemplateRankPosition;
use Tool\LoadTemplate\ILogic;

class RankPositionLogic extends ILogic
{
    public function dealRow(&$row): bool
    {
        $row[TemplateRankPosition::Ratio1] = (int)$row[TemplateRankPosition::Ratio1];
        $row[TemplateRankPosition::Ratio2] = (int)$row[TemplateRankPosition::Ratio2];
        $row[TemplateRankPosition::Ratio3] = (int)$row[TemplateRankPosition::Ratio3];
        return true;
    }
}
