Class: Ambling::Xy::Settings::Bullets
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Bullets
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Constant Summary collapse
- VALUES =
[:hover_brightness,:grow_time,:sequenced_grow,:grow_effect]
Instance Attribute Summary collapse
-
#grow_effect ⇒ Object
- elastic
-
(elastic, regular, strong).
-
#grow_time ⇒ Object
- 0
-
(Number) the time of animation of the bullets, in seconds.
-
#hover_brightness ⇒ Object
- 0
-
(from -255 to 255) the bullet may darken/lighten when the use rolls over it.
-
#sequenced_grow ⇒ Object
- false
-
(true / false) whether to animate all bullets at the same time or one after another.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#grow_effect ⇒ Object
- elastic
-
(elastic, regular, strong)
824 825 826 |
# File 'lib/ambling/xy.rb', line 824 def grow_effect @grow_effect end |
#grow_time ⇒ Object
- 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_brightness ⇒ Object
- 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_grow ⇒ Object
- 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 |