Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
badguy/walking_badguy.[ch]pp: Added the add_velocity() method.
The speed is simply added to the current velocity of the badguy. The walking speed is regained using an acceleration of walk_speed/s, i.e. it takes one second to get from zero to full speed again (or from twice the speed back to normal). SVN-Revision: 6508
- Loading branch information
Florian Forster
committed
Mar 2, 2010
1 parent
52a3f84
commit cc40de7
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters