Uses of Class
squidpony.store.json.JsonStorage
| Package | Description |
|---|---|
| squidpony |
The default conversion, compression, and storage classes are here; they delegate to the classes in
squidpony.store.json. |
| squidpony.store.json |
Conversion, compression,and storage (to libGDX Preferences) using JSON as the stored type.
|
-
Uses of JsonStorage in squidpony
Subclasses of JsonStorage in squidpony Modifier and Type Class Description classSquidStorageHelps games store information in libGDX's Preferences class as Strings, then get it back out. -
Uses of JsonStorage in squidpony.store.json
Methods in squidpony.store.json that return JsonStorage Modifier and Type Method Description JsonStorageJsonStorage. clear()Clears the current group of objects; recommended if you intend to store under multiple outerName keys.JsonStorageJsonStorage. put(String innerName, Object o)Prepares to store the Objectoto be retrieved withinnerNamein the current group of objects.JsonStorageJsonStorage. remove(String innerName)Removes one object from the current group by theinnerNameit was prepared with usingput(String, Object).JsonStorageJsonStorage. store(String outerName)Actually stores all objects that had previously been prepared withput(String, Object), withouterNameused as a key to retrieve any object in the current group.