1. Rhys !
  2. zorkish

Source

zorkish / HelpStage.hpp

/*
 * HelpStage.hpp
 *
 *  Created on: 19/08/2012
 *      Author: rhys
 */

#ifndef HELPSTAGE_HPP_
#define HELPSTAGE_HPP_

#include "SimpleDisplayStage.hpp"

class HelpStage : public SimpleDisplayStage {
public:
    HelpStage(ZorkishGame& game) : SimpleDisplayStage(game) {};

    virtual void print_message() {
        using std::cout;
        cout << "===HELP===\n";
        cout << "The following commands are supported:\n\n";
        cout << "drop [item]\n";
        cout << "go [direction]\n";
        cout << "hiscore\n";
        cout << "take [item]\n";
        cout << "quit\n";
    }
};

#endif /* HELPSTAGE_HPP_ */