Class: AuthorEngine::CollisionDetection::Color

Inherits:
Struct
  • Object
show all
Defined in:
lib/author_engine/collision_detection/collision_detection.rb

Instance Attribute Summary collapse

Instance Attribute Details

#alphaObject

Returns the value of attribute alpha

Returns:

  • (Object)

    the current value of alpha



3
4
5
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 3

def alpha
  @alpha
end

#blueObject

Returns the value of attribute blue

Returns:

  • (Object)

    the current value of blue



3
4
5
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 3

def blue
  @blue
end

#greenObject

Returns the value of attribute green

Returns:

  • (Object)

    the current value of green



3
4
5
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 3

def green
  @green
end

#redObject

Returns the value of attribute red

Returns:

  • (Object)

    the current value of red



3
4
5
# File 'lib/author_engine/collision_detection/collision_detection.rb', line 3

def red
  @red
end