#ifndef OBSERVER_H
#define OBSERVER_H

#include "simpleactor.h"

class RenderPass;

class Observer : public SimpleActor
{
public:
    Observer(Ptr<IGame>);

    virtual void action();
    virtual void draw();
    
    void update();

protected:
    void mapEvents();
    void setDollying(bool);
    void setPanning(bool);
    
    inline bool isDollying() { return dollying; }
    inline bool isPanning() { return panning; }
    void stop();
    
    bool dollying, panning;
};


#endif


