Class: Ambling::Xy::Settings::Bullets

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/xy.rb

Constant Summary collapse

VALUES =
[:hover_brightness,:grow_time,:sequenced_grow,:grow_effect]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#grow_effectObject

elastic

(elastic, regular, strong)



824
825
826
# File 'lib/ambling/xy.rb', line 824

def grow_effect
  @grow_effect
end

#grow_timeObject

0

(Number) the time of animation of the bullets, in seconds. Leave 0 to appear instantly



814
815
816
# File 'lib/ambling/xy.rb', line 814

def grow_time
  @grow_time
end

#hover_brightnessObject

0

(from -255 to 255) the bullet may darken/lighten when the use rolls over it. The intensity may be set here



809
810
811
# File 'lib/ambling/xy.rb', line 809

def hover_brightness
  @hover_brightness
end

#sequenced_growObject

false

(true / false) whether to animate all bullets at the same time or one after another



819
820
821
# File 'lib/ambling/xy.rb', line 819

def sequenced_grow
  @sequenced_grow
end