Heather Keith Freeman (jnanacandra) wrote,
Heather Keith Freeman
jnanacandra

  • Mood:

Keep your eyes on the target, your feet on the ground, and your head in the clouds.

#include "Person.h"
#include "Plan.h"
#include "Cat.h"

#define PHILOSOPHY_OF_LIFE 23
#define KILL_THEM_ALL 0
#define GIVE_THEM_A_GOOD_SPANKING 1
#define RULE_BENEVOLENTLY 2
#define GUIDE_FROM_BEHIND_SCENES 3
#define HAVE_SEX_WITH_ALL_THE_CUTE_ONES 4
#ifndef MASTERPLAN_H
#define MASTERPLAN_H
class MasterPlan {
public:
  MasterPlan (Person* me);
  ~MasterPlan (void);
  Plan* generateRandomPlan(void);
  void addNewPlan(Plan* newPlan);
  void achieveSubPlan(Plan* plan);
  void collectMinions(Person*);
  float actSweetAndInnocent(void);
  int conquerWorld (void);

private:
  int ultimate_goal;
  Plan* subplans;
  Person* minions;
  float power_percentage;

  void increaseMotivation(int mode = READ_NEWS);
};
#endif //MASTERPLAN_H

// masterPlan constructor
MasterPlan::MasterPlan(Person* me) {

  subplans = new Plan("Be happy");
  Plan* plan_ptr = subplans;

  plan_ptr->next = new Plan("Have lots of good sex");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("Two kids, two husbands, a girlfriend, and a house in Seattle");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("Create intelligent computer to take over the world");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("(Good thing the computer knows who's boss)");

  switch(me->mood) {
    case FURIOUS: ultimate_goal = KILL_THEM_ALL;
                 break;
    case ANNOYED: ultimate_goal = GIVE_THEM_A_GOOD_SPANKING;
                 break;
    case GENEROUS: ultimate_goal = RULE_BENEVOLENTLY;
                 break;
    case SNEAKY: ultimate_goal = GUIDE_FROM_BEHIND_SCENES;
                 break;
    case HORNY: ultimate_goal = HAVE_SEX_WITH_ALL_THE_CUTE_ONES;
                 break;
  }

  power_percentage = Person->power * me->charisma;
  minions = new Minion(Cat* dingbat);

}
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments