39 lines
686 B
C++
39 lines
686 B
C++
/*
|
|
* CS 246 Final Project
|
|
* File: map.h
|
|
* Purpose: handles map functionality
|
|
*/
|
|
|
|
#ifndef __OBJECTS_H__
|
|
#define __OBJECTS_H__
|
|
#include <vector>
|
|
#include <memory>
|
|
#include "layer.h"
|
|
#include "display.h"
|
|
|
|
class object {
|
|
// TODO: design the entire class
|
|
public:
|
|
void print() {} // use ncurses
|
|
void print(display &display) {}
|
|
};
|
|
|
|
class object_list final: public layer {
|
|
private:
|
|
|
|
};
|
|
|
|
// TODO: throw potion into another header
|
|
|
|
class potion final: public object {
|
|
// TODO: design the entire class
|
|
};
|
|
|
|
class potion_list final: public layer {
|
|
private:
|
|
std::vector<std::unique_ptr<potion>> potions;
|
|
// TODO: design the entire class
|
|
};
|
|
|
|
#endif
|