///////////////////////////////////////////////////////////////////////////
//Tom Valesky
//CS-752
//Dr. Chen, instructor
//scene.h -- header for scene file
//note: need to include explosion.h and sceneobject.h before this
///////////////////////////////////////////////////////////////////////////

#define MAX_SCENEOBJECTS 1000
#define MAX_EXPLOSIONS 1000
class Scene
{
        int num_explosions;
        int num_scene_objects;
        Explosion *explosions[MAX_EXPLOSIONS];
        SceneObject *scene_objects[MAX_SCENEOBJECTS];
		int interaction_matrix[MAX_EXPLOSIONS][MAX_SCENEOBJECTS];

        public:
        Scene(void);
        ~Scene(void);
	int move(void);
	void draw(void);
        void dump(void);
		void read_file (char *filename);
int read_num_explosions(FILE *fp);
int read_num_scene_objects(FILE *fp);
Explosion *init_explosion(FILE *fp);
SceneObject *init_scene_object(FILE *fp);
void check_intersection(void);

};
