private bool ProcessStageLine(string data) { string[] oneData = data.Split(new char[] { '=' }); if (oneData[0].Equals("tile")) { if (worldScript_.SetStageStyle(oneData[1]) == false) { ParseError(data, "unknown tile type"); } } if (oneData[0].Equals("time")) { int stageTime = 0; if (int.TryParse(oneData[1], out stageTime)) { worldScript_.stageMaxTime_ = stageTime; } } if (oneData[0].Equals("distance")) { int stageDistance = 0; if (int.TryParse(oneData[1], out stageDistance)) { worldScript_.stageMaxDistance_ = stageDistance; } } return(true); }