- void init(float x, float y, Direction dir, UpgradeKind kind);
- void action(double frame_ratio);
- void draw();
- void collision(void* p_c_object, int c_object);
+ Upgrade(DisplayManager& display_manager, const Vector& pos, Direction dir,
+ UpgradeKind kind);
+ virtual ~Upgrade();
+
+ virtual void action(float frame_ratio);
+ virtual void draw(Camera& viewport, int layer);
+
+ virtual void collision(const MovingObject& other, int);
+ void collision(void* p_c_object, int c_object, CollisionType type);