home *** CD-ROM | disk | FTP | other *** search
- //-----------------------------------------------------------------------------
- // The derived game material allows new properties to be added to the
- // materials, such as sound effects for when the material is stepped on.
- //
- // Programming a Multiplayer First Person Shooter in DirectX
- // Copyright (c) 2004 Vaughan Young
- //-----------------------------------------------------------------------------
- #ifndef GAME_MATERIAL_H
- #define GAME_MATERIAL_H
-
- //-----------------------------------------------------------------------------
- // Game Material Class
- //-----------------------------------------------------------------------------
- class GameMaterial : public Material
- {
- public:
- GameMaterial( char *name, char *path = "./" );
- virtual ~GameMaterial();
-
- Sound *GetStepSound();
-
- private:
- LinkedList< Sound > *m_stepSounds;
- };
-
- #endif