Class: Doom::Map::Thing

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



7
8
9
# File 'lib/doom/map/data.rb', line 7

def angle
  @angle
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



7
8
9
# File 'lib/doom/map/data.rb', line 7

def flags
  @flags
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



7
8
9
# File 'lib/doom/map/data.rb', line 7

def type
  @type
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



7
8
9
# File 'lib/doom/map/data.rb', line 7

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



7
8
9
# File 'lib/doom/map/data.rb', line 7

def y
  @y
end