virtual void update(float elapsed_time);
private:
- boost::shared_ptr<Path> path;
- boost::shared_ptr<PathWalker> walker;
+ std::shared_ptr<Path> path;
+ std::shared_ptr<PathWalker> walker;
Vector offset;
bool from_tilemap;
Physic physic;
class HeavyCoin : public Coin
{
public:
- HeavyCoin(const Vector& pos);
HeavyCoin(const Vector& pos, const Vector& init_velocity);
HeavyCoin(const Reader& reader);