Source

zorkish / commands / LookCommand.hpp

/*
 * LookCommand.hpp
 *
 *  Created on: 10/09/2012
 *      Author: rhys
 */

#ifndef LOOKCOMMAND_HPP_
#define LOOKCOMMAND_HPP_

#include "../Command.hpp"

class LookCommand : public Command {
public:
    virtual ~LookCommand() = default;

    virtual std::string run(std::string, World&, Player& player) {
        return player.current_location()->long_desc();
    }
};

#endif /* LOOKCOMMAND_HPP_ */