adding cs142 code

This commit is contained in:
dm
2016-04-06 20:45:34 -07:00
parent 552d456d53
commit 8e52ce1982
174 changed files with 14064 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef __ARENA_H__
#define __ARENA_H__
#include <vector>
#include "ArenaInterface.h"
class arena : public ArenaInterface {
private:
std::vector<FighterInterface *> fighters;
bool contains(string name);
public:
arena(){}
~arena();
bool addFighter(string info);
bool removeFighter(string name);
FighterInterface * getFighter(string name);
int getSize();
friend ostream & operator<<(ostream &, arena &);
};
#endif