extern Surface* growingtux_left[GROWING_FRAMES];
extern Surface* growingtux_right[GROWING_FRAMES];
-struct PlayerSprite
+/*struct PlayerSprite
{
Sprite* stand_left;
Sprite* stand_right;
Sprite* grab_right;
Sprite* duck_right;
Sprite* duck_left;
- Sprite* stomp;
-};
+};*/
+
+extern Sprite* small_tux;
+extern Sprite* big_tux;
+extern Sprite* fire_tux;
+extern Sprite* ice_tux;
-extern PlayerSprite smalltux;
-extern PlayerSprite largetux;
-extern PlayerSprite firetux;
-extern PlayerSprite icetux;
+extern Sprite* tux_arm;
class Player : public MovingObject
{
Timer shooting_timer; // used to show the arm when Tux is shooting
Timer dying_timer;
Timer growing_timer;
- Timer stomp_timer;
Physic physic;
- Vector stomp_pos;
-
public:
Player();
virtual ~Player();