diff options
Diffstat (limited to 'engines/mads/player.cpp')
-rw-r--r-- | engines/mads/player.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp index 4130ad295f..b0f4b72667 100644 --- a/engines/mads/player.cpp +++ b/engines/mads/player.cpp @@ -84,8 +84,39 @@ void Player::resetActionList() { warning("TODO: Player::resetActionList"); } +void Player::setDest(const Common::Point &pt, int facing) { + warning("TODO: Player::setDest"); +} + +void Player::nextFrame() { + _priorTimer += _ticksAmount; + if (_vm->_events->_currentTimer >= _priorTimer) { + _priorTimer = _vm->_events->_currentTimer; + if (_moving) { + move(); + } else { + idle(); + } + + postUpdate(); + update(); + } +} + +void Player::move() { + warning("TODO: Player::move"); +} + void Player::idle() { warning("TODO: Player::idle"); } +void Player::postUpdate() { + warning("TODO: Player::postUpdate"); +} + +void Player::update() { + warning("TODO: Player::update"); +} + } // End of namespace MADS |