CSC112 Spring 2016 Examples
//Header file for the master-of-the-mind Alpaca12#ifndef ISCHOMER_ZENPACA_H3#define ISCHOMER_ZENPACA_H45#include "../alpaca.h"6#include "../alpacaFracasPack.h"7#include <string>89class zenPaca : public Alpaca {10public:11//set up the alapca with 150 points12zenPaca(const std::string &nickName, AlpacaFracasPack *p) : Alpaca(150), nickName(nickName), pack(p) {}1314//virtual functions to override15virtual std::string name();16virtual void act(Alpaca *opponent);1718//moveset19void transcend(); //myAttack++ and defense ++20void mindread(Alpaca *opponent); //theirAttack-- and defense--21void zenKick(Alpaca *opponent); //powerful attack22void zenTap(Alpaca *opponent); //weaker attack23void inceptionate(Alpaca *opponent); //sleepmove24void zenergy(); //healing25void reflect(); //do nothing2627protected:28std::string nickName;29AlpacaFracasPack *pack;30};3132#endif333435