/*
 * Filename: container.h
 * Revision: 19981004
 */

#ifndef _CONTAINER_H
#define _CONTAINER_H

#include <fstream.h>

#include "frame.h"
#include "shape.h"

class container : public frame
{
public:
	container ();
	~container ();

	int drop_shape (shape *);
	void merge_shape (shape *);
	void copy (container *);
	void load (fstream &);
	void save (fstream &);
	void status (void);

	int level;

private:
	int validate (void);
	int touch_down (shape *);
};

#endif
