Class: Doom::Render::Drawseg

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/render/renderer.rb

Overview

Drawseg stores wall segment info for sprite clipping Matches Chocolate Doom’s drawseg_t structure

Instance Attribute Summary collapse

Instance Attribute Details

#bsilheightObject

Returns the value of attribute bsilheight

Returns:

  • (Object)

    the current value of bsilheight



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def bsilheight
  @bsilheight
end

#scale1Object

Returns the value of attribute scale1

Returns:

  • (Object)

    the current value of scale1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def scale1
  @scale1
end

#scale2Object

Returns the value of attribute scale2

Returns:

  • (Object)

    the current value of scale2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def scale2
  @scale2
end

#silhouetteObject

Returns the value of attribute silhouette

Returns:

  • (Object)

    the current value of silhouette



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def silhouette
  @silhouette
end

#sprbottomclipObject

Returns the value of attribute sprbottomclip

Returns:

  • (Object)

    the current value of sprbottomclip



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sprbottomclip
  @sprbottomclip
end

#sprtopclipObject

Returns the value of attribute sprtopclip

Returns:

  • (Object)

    the current value of sprtopclip



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sprtopclip
  @sprtopclip
end

#tsilheightObject

Returns the value of attribute tsilheight

Returns:

  • (Object)

    the current value of tsilheight



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def tsilheight
  @tsilheight
end

#x1Object

Returns the value of attribute x1

Returns:

  • (Object)

    the current value of x1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def x1
  @x1
end

#x2Object

Returns the value of attribute x2

Returns:

  • (Object)

    the current value of x2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def x2
  @x2
end