module WritingMethods::DFL

Overview

The main class for working with .dfl files

Direct including types

Defined in:

write.cr
write/write_graphic.cr
write/write_head.cr
write/write_palette.cr
write/write_palgraphic.cr
write/write_sound.cr

Instance Method Summary

Instance Method Detail

def write(filename : String | Path) #

Writes out the dfl given the filename

dfl = DFL.new
dfl.write("Path/To/MyDFL.dfl")

[View source]
def write(io : IO) #

Writes out the dfl given the io

dfl = DFL.new
File.open("Path/To/MyDFL.dfl") do |io|
  dfl.write(io)
end

[View source]