#ifndef FOOD_H
#define FOOD_H

#include "GL/gl.h"
#include "vector3f.h"
//#include "critterb.h"
#include <vector>
#include <iostream>

class Food
{
	public:
		Food();
		~Food();

		float			size;
		float			energy;

		float			maxsize;
		float			maxenergy;

		Vector3f		position;

		unsigned int		totalFrames;
		unsigned int		maxtotalFrames;

		bool			isCarried;
		//CritterB		carriedBy;

		void			draw();
		void			resize();
	private:

		GLubyte			indices[20];
		GLfloat 		vertices[24];
		float			color[4];
		float			halfsize;

};

#endif
