public ParsedActivity LoadActivity()
        {
            workingActivity = new ParsedActivity();

            string line = reader.ReadLine();
            while (line != null)
            {
                ParseLine(line);
                line = reader.ReadLine();
            }

            return workingActivity;
        }
示例#2
0
        public ParsedActivity LoadActivity()
        {
            workingActivity = new ParsedActivity();

            string line = reader.ReadLine();

            while (line != null)
            {
                ParseLine(line);
                line = reader.ReadLine();
            }

            return(workingActivity);
        }
 public ActivityTypeViewModel(ParsedActivity inner)
 {
     Inner = inner;
 }
 public ActivityLuaFile LoadLuaFile(ParsedActivity activity)
 {
     var luaFilePath = Path.Combine(activity.FolderLocation, activity.LuaFileName);
     return new ActivityLuaFile(luaFilePath);
 }
        public ActivityLuaFile LoadLuaFile(ParsedActivity activity)
        {
            var luaFilePath = Path.Combine(activity.FolderLocation, activity.LuaFileName);

            return(new ActivityLuaFile(luaFilePath));
        }