Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4f010bee76
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (22 sloc) 0.521 kb
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
#ifndef STASH_H
#define STASH_H

#include <list>
#include "Globals.h"
#include "Item.h"

class Stash {
public:
Stash(unsigned char symbol = ILLEGAL_ITEM, int color = NO_COLOR, int last_inspected = 0);

unsigned char symbol() const;
unsigned char symbol(unsigned char symbol);
int color() const;
int color(int color);
std::list<Item>& items();
int lastInspected() const;
int lastInspected(int last_inspected);

private:
unsigned char _symbol;
int _color;
std::list<Item> _items;
int _last_inspected;
};
#endif
Something went wrong with that request. Please try again.