aboutsummaryrefslogtreecommitdiff
path: root/oop2w6/IComponent.h
blob: d48ad850ef7e7ca63cd7cfdc81a151f59b4816a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "Visitor.h"

class IComponent {
public:
	IComponent() {}
	virtual ~IComponent() {}
	virtual double getValue() = 0;
	virtual void accept(Visitor&) = 0;
};