public static ApplyDot ( int ticks, bool doubleDotted ) : int | ||
ticks | int | |
doubleDotted | bool | |
return | int |
public static int ApplyDot(int ticks, bool doubleDotted)
{
if (doubleDotted)
{
return ticks + (ticks / 4) * 3;
}
return ticks + ticks / 2;
}