class DFL
- DFL
- Reference
- Object
Overview
The main class for working with .dfl files
Included Modules
Defined in:
D_File/dfl.crD_File/dfl/graphic.cr
D_File/dfl/head.cr
D_File/dfl/palette.cr
D_File/dfl/palgraphic.cr
D_File/dfl/sound.cr
write.cr
Constructors
-
.read(filename : String | Path) : DFL
Reads in a dfl given the filename
dfl = DFL.read("Path/To/MyDFL.dfl")
-
.read(io : IO) : DFL
Reads in a dfl given the io
Instance Method Summary
-
#add(head : Head)
Adds a
DFL::Head
to the dfl -
#empty : Array(Head)
The array of heads with empty data type
-
#empty=(empty : Array(Head))
The array of heads with empty data type
-
#graphics : Array(Head)
The array of heads with graphic data type
-
#graphics=(graphics : Array(Head))
The array of heads with graphic data type
-
#palette : Head
The universal palette for palette graphics
-
#palette=(palette : Head)
The universal palette for palette graphics
-
#palgraphics : Array(Head)
The array of heads with palgraphic data type
-
#palgraphics=(palgraphics : Array(Head))
The array of heads with palgraphic data type
-
#portions : UInt32
The number of portions in the dfl
-
#portions=(portions : UInt32)
The number of portions in the dfl
-
#sounds : Array(Head)
The array of heads with sound data type
-
#sounds=(sounds : Array(Head))
The array of heads with sound data type
Instance methods inherited from module WritingMethods::DFL
write(filename : String | Path)write(io : IO) write
Constructor Detail
Reads in a dfl given the filename
dfl = DFL.read("Path/To/MyDFL.dfl")
Instance Method Detail
The array of heads with palgraphic data type