Class: Tone

Inherits:
Object
  • Object
show all
Defined in:
lib/eidolon/rgssx/tone.rb

Overview

RGSSx

This class is present and consistent across all RGSS versions.

Tone

The color tone class. Each component is handled with a floating-point value (Float).

Instance Attribute Summary collapse

Instance Attribute Details

#blueObject

The blue balance adjustment value (-255 to 255).



15
16
17
# File 'lib/eidolon/rgssx/tone.rb', line 15

def blue
  @blue
end

#grayObject

The gray balance adjustment value (-255 to 255).



18
19
20
# File 'lib/eidolon/rgssx/tone.rb', line 18

def gray
  @gray
end

#greenObject

The green balance adjustment value (-255 to 255).



12
13
14
# File 'lib/eidolon/rgssx/tone.rb', line 12

def green
  @green
end

#redObject

The red balance adjustment value (-255 to 255).



9
10
11
# File 'lib/eidolon/rgssx/tone.rb', line 9

def red
  @red
end