Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 7, 2006, 1:13:58 PM (18 years ago)
Author:
bensch
Message:

powerups sounds when pickup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/power_up.h

    r6973 r7065  
    88
    99#include "world_entity.h"
     10
     11#include "sound_buffer.h"
     12#include "sound_source.h"
    1013
    1114class Material;
     
    2326  void collidesWith (WorldEntity* entity, const Vector& location);
    2427
     28  void loadPickupSound(const char* pickupSound);
     29
    2530  virtual void draw () const;
    2631  virtual void tick(float dt);
     
    3742
    3843private:
     44  SoundSource    soundSource;
     45  SoundBuffer*   soundBuffer;
    3946  Material* sphereMaterial;
    4047  PowerUpRespawn respawnType;
Note: See TracChangeset for help on using the changeset viewer.