24 lines
497 B
C++
24 lines
497 B
C++
// ======================================================
|
|
// ConsolePole.h
|
|
// ======================================================
|
|
|
|
#ifndef CONSOLEPOLEVISITOR_H
|
|
#define CONSOLEPOLEVISITOR_H
|
|
|
|
#include "Observer.h"
|
|
|
|
class Pole;
|
|
#include "PoleVisitor.h"
|
|
|
|
class ConsolePoleVisitor : public Observer, public PoleVisitor {
|
|
public:
|
|
ConsolePoleVisitor(Pole &);
|
|
virtual void update(const Hint &);
|
|
virtual void visit(Light &);
|
|
|
|
private:
|
|
Pole &MyPole;
|
|
};
|
|
|
|
#endif
|