Files
oboe/osx/classes/creatlist.cpp
Celtic Minstrel b23bb30423 Clean up includes in the "classes" folder
- Canonicalized the header guards
- Removed all the sneaky dependencies between files
- Made sure includes were properly sorted
2014-04-20 01:23:15 -04:00

28 lines
468 B
C++

/*
* creatlist.cpp
* BoE
*
* Created by Celtic Minstrel on 24/04/09.
*
*/
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include "classes.h"
#include "oldstructs.h"
cPopulation& cPopulation::operator = (legacy::creature_list_type old){
for(int i = 0; i < 60; i++)
dudes[i] = old.dudes[i];
which_town = old.which_town;
friendly = old.friendly;
return *this;
}
cCreature& cPopulation::operator[](size_t n){
return dudes[n];
}