// // Lol Engine // // Copyright: (c) 2010-2011 Sam Hocevar // This program is free software; you can redistribute it and/or // modify it under the terms of the Do What The Fuck You Want To // Public License, Version 2, as published by Sam Hocevar. See // http://sam.zoy.org/projects/COPYING.WTFPL for more details. // // // The Sample class // ---------------- // A Sample is a unique sound sample. // #if !defined __DH_SAMPLE_H__ #define __DH_SAMPLE_H__ #include #include "entity.h" class SampleData; class Sample : public Entity { public: Sample(char const *path); virtual ~Sample(); protected: /* Inherited from Entity */ virtual char const *GetName(); virtual void TickGame(float deltams); public: /* New methods */ void Play(); private: SampleData *data; }; #endif // __DH_SAMPLE_H__