Class: Quake::Wad::Reader::QPic

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

Overview

QPic: width(4) + height(4) + indexed pixels

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



13
14
15
# File 'lib/quake/wad/reader.rb', line 13

def height
  @height
end

#pixelsObject (readonly)

Returns the value of attribute pixels

Returns:

  • (Object)

    the current value of pixels



13
14
15
# File 'lib/quake/wad/reader.rb', line 13

def pixels
  @pixels
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



13
14
15
# File 'lib/quake/wad/reader.rb', line 13

def width
  @width
end