//	CopyTone.h - A Tone subclass used to copy other Tones' attributes.
//  ----------------------------------------------------------------------------
//	This file is part of 'GameTemplate', template code for a game.
//	Copyright (C) 2011  Niall Moody
//	
//	This program is free software: you can redistribute it and/or modify
//	it under the terms of the GNU General Public License as published by
//	the Free Software Foundation, either version 3 of the License, or
//	(at your option) any later version.
//
//	This program is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//	GNU General Public License for more details.
//
//	You should have received a copy of the GNU General Public License
//	along with this program.  If not, see <http://www.gnu.org/licenses/>.
//	----------------------------------------------------------------------------

#ifndef COPYTONE_H_
#define COPYTONE_H_

#include "Tone.h"

///	A Tone subclass used to copy other Tones' attributes.
class CopyTone : public Tone
{
  public:
	///	Constructor.
	CopyTone(const Tone& other);
	///	Destructor.
	~CopyTone();

	///	Returns the name of this tone type.
	std::wstring getName() const {return name;};
	///	Returns the score you get if this tone makes it to the opposite side of the screen.
	int getScore() const {return score;};
  private:
	///	The name of the tone type this is a copy of.
	std::wstring name;
	///	The score of the tone type this is a copy of.
	int score;
};

#endif
