Welcome to mirror list, hosted at ThFree Co, Russian Federation.

move_screen_task.hpp « map - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbcc24fe1068f6994953c363993a0f65fa501c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "anim/segment_interpolation.hpp"

class Framework;

class MoveScreenTask : public anim::SegmentInterpolation
{
private:

  Framework * m_framework;
  m2::PointD m_outPt;

public:

  MoveScreenTask(Framework * framework,
                 m2::PointD const & startPt,
                 m2::PointD const & endPt,
                 double interval);

  void OnStep(double ts);
  void OnEnd(double ts);

  bool IsVisual() const;
};