WritingAdditions::Map::Node
Inherits Struct < Value < Object
Structure of a node.
Constructors
new
Class methods
Writes a list of nodes given an output io and the nodes to write and returns the written directory
Writes nodes in my_wad to a file:
my_wad = WAD.read("Path/To/Wad")
WAD::Map::Node.write("Path/To/nodes.lmp", my_wad.maps["MyMap"].nodes)
Writes a list of nodes given an output io and the nodes to write and returns the written directory
Writes nodes in my_wad to a file:
my_wad = WAD.read("Path/To/Wad")
File.open("Path/To/nodes.lmp", "w+") do |file|
WAD::Map::Node.write(my_wad.maps["MyMap"].nodes)
end
Instance methods
initialize