class

Flock::Cli::Config

Inherits JSON::Serializable < Reference < Object

Per-project metadata (.flock/config.json), written by flock new and read by the generators so they emit code matching the project (2D vs 3D, enabled features).

Constructors

load(dir : String = ".") : Config
Source
new(name : String, dim : String, features : Array(String), flock_path : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

collision?
Source
dim=(dim : String)
Source
features
Source
features=(features : Array(String))
Source
flock_path
Source
flock_path=(flock_path : String)
Source
ldtk?
Source
module_name
Source
name
Source
name=(name : String)
Source
save(dir : String) : Nil
Source
tilemap?
Source