Add path specification for movement animations.
commitd4ef778cc8bb2aab4ecd7a992926d3c11ef69cd4
authorPaolo Capriotti <p.capriotti@gmail.com>
Fri, 19 Jun 2009 09:55:18 +0000 (19 11:55 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Fri, 19 Jun 2009 10:09:02 +0000 (19 12:09 +0200)
tree904a7a09a20327a952ef11601befaf3ab113fa2f
parent3aa7b1226c515eac8ebda0adc93add9dc7555fbc
Add path specification for movement animations.

Paths are functions that compute the increment in position at time i. A linear
path and an L-shaped path have been added. The L-shaped path has been mapped
to the chess knight movement.
lib/animations.rb
lib/animator_helper.rb
lib/factory.rb [moved from lib/games/factory.rb with 100% similarity]
lib/games/chess/animator.rb
lib/games/chess/chess.rb
lib/games/games.rb
test/test_animations.rb
test/test_animator_helper.rb