﻿/**
*\file Radeau.h
*\brief file which contains the attributes and function declarations of the Radeau class
*\author Maxime HAVEZ
*\author Gareth THIVEUX
*\version 1.0
*/

#ifndef RADEAU_H
#define RADEAU_H

#include "Bateau.h"

class Radeau : public Bateau
{

	public :
		/**
		* \fn char typeBateau()
		* \brief Inherited function which gives the name of the class
		* \return char the name of the class
		*/
		char type();
		/**
		* \fn void init()
		* \brief Inherited function which initialises the Radeau
		
		virtual void init();*/
		/**
		* \fn Radeau()
		* \brief Default constructor
		*/
		Radeau(); 

		/**
		*\fn void setATresor()
		*\brief redefines the heritated function
		*/
		void setATresor(bool b);
}; 

inline char Radeau::type(){ return 'R';} 

inline void Radeau::setATresor(bool b){
	aTresor=false;
	cout<<"Radeau.h : un radeau ne peut pas prendre de trésor !"<<endl;
}

#endif
