15 lines
269 B
C++
15 lines
269 B
C++
#pragma once
|
|
#include "libtcod.hpp"
|
|
|
|
class Actor;
|
|
|
|
class Container {
|
|
public:
|
|
int size; // maximum number of actors. 0=unlimited
|
|
TCODList<Actor*> inventory;
|
|
|
|
Container(int size);
|
|
~Container();
|
|
bool add(Actor* actor);
|
|
void remove(Actor* actor);
|
|
}; |