CSC112 Spring 2016 Examples
//header file for rockPaca12#ifndef ISCHOMER_BLOBPACA_H3#define ISCHOMER_BLOBPACA_H45#include "../alpaca.h"6#include "../alpacaFracasPack.h"7#include <string>8#include <iostream>910class blobPaca : public Alpaca {11public:12//set up the alapca with 100 points13blobPaca(const std::string &nickName, AlpacaFracasPack *p) : Alpaca(60), nickName(nickName), pack(p) {}1415//functions to override16virtual std::string name();17virtual void act(Alpaca *opponent);1819//moveset20void congeal(); //increase defense21void snooze(); //do absolutely nothing22void reblob(); //heal23void ooze(Alpaca *opponent); //decrease their attack24void jellify(Alpaca *buddy); //increase Att2526protected:27std::string nickName;28AlpacaFracasPack *pack;2930};3132#endif333435