chore: Add course material
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// ======================================================
|
||||
// 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
|
||||
Reference in New Issue
Block a user