Class: Quake::Wad::Reader::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/quake/wad/reader.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/quake/wad/reader.rb', line 10

def name
  @name
end

#offsetObject (readonly)

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



10
11
12
# File 'lib/quake/wad/reader.rb', line 10

def offset
  @offset
end

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



10
11
12
# File 'lib/quake/wad/reader.rb', line 10

def size
  @size
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



10
11
12
# File 'lib/quake/wad/reader.rb', line 10

def type
  @type
end