struct
   WritingAdditions::Map::Thing
  
  - WritingAdditions::Map::Thing
 - Struct
 - Value
 - Object
 
Overview
Structure of a thing.
Defined in:
write/write_map.crConstructors
Class Method Summary
- 
        .write(file : String | Path, things : Array(::WAD::Map::Thing)) : ::WAD::Directory
        
          
Writes a list of things given an output io and the things to write and returns the written directory
 - 
        .write(io : IO, things : Array(::WAD::Map::Thing)) : ::WAD::Directory
        
          
Writes a list of things given an output io and the things to write and returns the written directory
 
Instance Method Summary
Constructor Detail
Class Method Detail
Writes a list of things given an output io and the things to write and returns the written directory
Writes things in my_wad to a file:
my_wad = WAD.read("Path/To/Wad")
WAD::Map::Thing.write("Path/To/things.lmp", my_wad.maps["MyMap"].things)
        Writes a list of things given an output io and the things to write and returns the written directory
Writes things in my_wad to a file:
my_wad = WAD.read("Path/To/Wad")
File.open("Path/To/things.lmp", "w+") do |file|
  WAD::Map::Thing.write(my_wad.maps["MyMap"].things)
end