GameFileVersion

interface GameFileVersion

In an attempt to ensure that old versions of .kyd files will be backwards compatible with newer versions of Kyd, there can be many instances of this interface, each one is capable of parsing/creating a certain flavour of Json file.

Inheritors

Properties

Link copied to clipboard
abstract val version: String

Functions

Link copied to clipboard
abstract fun gameFromJson(jGame: JsonObject, filePath: String, resources: Resources, editor: Boolean): Game
Link copied to clipboard
abstract fun Game.toJson(): JsonObject