ogallagher / terry

Terry the virtual secreTERRY
0 stars 0 forks source link

Action serialization #11

Closed ogallagher closed 4 years ago

ogallagher commented 4 years ago

Terry needs to be able to store information about actions and widgets that it learns in storage. The language mappings (actions, lessons, widgets) are placed in maps.txt, and the dictionary that links tokens to language mappings goes in dict.txt. I’ve begun making the involved classes serializable, but have not finished and will definitely need to make modifications after testing them

ogallagher commented 4 years ago

Action serialization and deserialization now been tested and fixed. Different mapping types are now written to different storage files, so actions are read and written to acts.txt.