Module: Gravitier
- Included in:
- Actor
- Defined in:
- lib/fantasy/includes/gravitier.rb
Instance Method Summary collapse
Instance Method Details
#add_force_by_gravity ⇒ Object
4 5 6 |
# File 'lib/fantasy/includes/gravitier.rb', line 4 def add_force_by_gravity add_force(Coordinates.down * @gravity) end |