Class: Doom::Map::Seg

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/map/data.rb

Instance Attribute Summary collapse

Instance Attribute Details

#angleObject

Returns the value of attribute angle

Returns:

  • (Object)

    the current value of angle



39
40
41
# File 'lib/doom/map/data.rb', line 39

def angle
  @angle
end

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



39
40
41
# File 'lib/doom/map/data.rb', line 39

def direction
  @direction
end

#linedefObject

Returns the value of attribute linedef

Returns:

  • (Object)

    the current value of linedef



39
40
41
# File 'lib/doom/map/data.rb', line 39

def linedef
  @linedef
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



39
40
41
# File 'lib/doom/map/data.rb', line 39

def offset
  @offset
end

#v1Object

Returns the value of attribute v1

Returns:

  • (Object)

    the current value of v1



39
40
41
# File 'lib/doom/map/data.rb', line 39

def v1
  @v1
end

#v2Object

Returns the value of attribute v2

Returns:

  • (Object)

    the current value of v2



39
40
41
# File 'lib/doom/map/data.rb', line 39

def v2
  @v2
end