diff options
author | Strangerke | 2011-10-21 17:27:34 +0200 |
---|---|---|
committer | Strangerke | 2011-10-22 06:30:04 +0200 |
commit | 727afcf4bd65fbdf1af9de2eab6657ccf653d5bf (patch) | |
tree | 8fc030e217d8a4c23bbb764a44867f69b070680b /engines/cge/walk.cpp | |
parent | 18521c6673121c8a1fc18028f6d5fc96a840ad05 (diff) | |
download | scummvm-rg350-727afcf4bd65fbdf1af9de2eab6657ccf653d5bf.tar.gz scummvm-rg350-727afcf4bd65fbdf1af9de2eab6657ccf653d5bf.tar.bz2 scummvm-rg350-727afcf4bd65fbdf1af9de2eab6657ccf653d5bf.zip |
CGE: Add some doxygen comments
Diffstat (limited to 'engines/cge/walk.cpp')
-rw-r--r-- | engines/cge/walk.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/cge/walk.cpp b/engines/cge/walk.cpp index 31ea1909d8..22c06a17c1 100644 --- a/engines/cge/walk.cpp +++ b/engines/cge/walk.cpp @@ -126,7 +126,10 @@ int Walk::distance(Sprite *spr) { return dz - 1; } - +/** + * Turn the character to a given direction + * @param d Direction + */ void Walk::turn(Dir d) { Dir dir = (_dir == kDirNone) ? kDirSouth : _dir; if (d != _dir) { @@ -135,6 +138,9 @@ void Walk::turn(Dir d) { } } +/** + * Stop the character and reset his direction + */ void Walk::park() { if (_time == 0) _time++; |