string strCursor = i18n.Get("config.detectionMethod.cursor");
string strPlayer = i18n.Get("config.detectionMethod.player");
switch (Config.DetectionMethod)
{
case strCursor:
CheckTile(currentLocation, cursorTile, player);
break;
case strPlayer:
CheckTile(currentLocation, toolLocation, player);
break;
}
string strCursor = i18n.Get("config.detectionMethod.cursor");
string strPlayer = i18n.Get("config.detectionMethod.player");
switch (Config.DetectionMethod)
{
case strCursor:
CheckTile(currentLocation, cursorTile, player);
break;
case strPlayer:
CheckTile(currentLocation, toolLocation, player);
break;
}