1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#include "Monsters.h"
Monster mButterfly(1, "A butterfly", "A cute butterfly.. you monster", "Normal", 1, 1, 0, 10);
Monster::Monster(int newId, string newName, string newInfo, string newType, int newHealth, int newDamage, int newGold, int newXp)
{
id = newId;
name = newName;
info = newInfo;
type = newType;
health = newHealth;
damage = newDamage;
gold = newGold;
xp = newXp;
}
void Monster::MonsterSetup()
{
//id, name, info, type, health, damage, gold, xp
static Monster mButterfly(1, "A butterfly", "A cute butterfly.. you monster", "Normal", 1, 1, 0, 10);
}
|