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