// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-
#ifndef __BULLET_H__
#define __BULLET_H__
#include "moving_object.h"
-#include "math/physic.h"
+#include "physic.h"
#include "sprite/sprite.h"
-using namespace SuperTux;
-
enum BulletsKind {
FIRE_BULLET,
ICE_BULLET
Bullet(const Vector& pos, float xm, int dir, int kind);
~Bullet();
- void action(float elapsed_time);
+ void update(float elapsed_time);
void draw(DrawingContext& context);
HitResponse collision(GameObject& other, const CollisionHit& hit);