class Bubble
Attributes
color[R]
loc[R]
radius[R]
Public Class Methods
new()
click to toggle source
# File examples/ruboids/ruboids/Cloud.rb, line 16 def initialize @radius = rand($PARAMS['cloud_max_bubble_radius']) + 1 @loc = Point.new(0, rand(8) - 4, rand(8) - 4) c = 0.85 + rand() * 0.15 @color = [c, c, c] end