5 Actor::Actor(const Animation
& animation
) :
8 movingDirection_(kDirectionRight
),
9 // TODO: change back speed_ and destination_ as (0, 0)
11 destination_(120, 120) {
20 setPosition(x() + speed_
.first
, y() + speed_
.second
);
23 bool Actor::shouldMove() const
29 if (x() == destination_
.first
&&
30 y() == destination_
.second
) {