Package cl.cromer.azaraka.json
Class Json
- java.lang.Object
-
- cl.cromer.azaraka.json.Json
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cl.cromer.azaraka.Constants
Constants.AIHeuristic, Constants.LogLevel, Constants.PlayerAIType
-
-
Field Summary
-
Fields inherited from interface cl.cromer.azaraka.Constants
AI_HEURISTIC, APPEND_LOGS, CELL_PIXELS, CHESTS, ENEMIES, ENEMY_AI, EXPORT_SCENE, FONT, FONT_SIZE, GENERATE_SCENE, GLOBAL_LOG, HORIZONTAL_CELLS, LOG_TO_FILE, OBSTACLES, PLAYER_AI, PRETTY_JSON, TITLE, VERTICAL_CELLS, VOLUME
-
-
Constructor Summary
Constructors Constructor Description Json()
Initialize the JSON object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportScene(java.util.concurrent.CopyOnWriteArrayList<java.util.concurrent.CopyOnWriteArrayList<Cell>> cells)
Export the game cells to a JSON ready object then write it to a file-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cl.cromer.azaraka.Constants
getLogger, initializeLogger, random
-
-
-
-
Method Detail
-
exportScene
public void exportScene(java.util.concurrent.CopyOnWriteArrayList<java.util.concurrent.CopyOnWriteArrayList<Cell>> cells)
Export the game cells to a JSON ready object then write it to a file- Parameters:
cells
- The cells of the scene to export
-
-