Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/movie_entity.h @ 9869

Last change on this file since 9869 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 879 bytes
Line 
1/*!
2 * @file movie_entity.h
3 *  Definition of a Movie Screen
4 */
5
6#ifndef _MOVIE_ENTITY_H
7#define _MOVIE_ENTITY_H
8
9#include "world_entity.h"
10
11
12class MediaContainer;
13
14class MovieEntity : public WorldEntity
15{
16  ObjectListDeclaration(MovieEntity);
17  private:
18    MediaContainer* media_container;
19
20    int counter;
21    float timer;
22    float fps;
23
24    float axis;
25    float rotation;
26    float height;
27    float width;
28
29    bool mediaLoaded;
30
31  public:
32    MovieEntity (const TiXmlElement* root = NULL);
33    virtual ~MovieEntity ();
34
35    virtual void draw () const;
36    virtual void tick (float time);
37
38    virtual void loadParams(const TiXmlElement* root);
39
40    void loadMovie(const std::string& filename);
41    void setAxis(float axis);
42    void setRotation(float rotation);
43    void setSize(float width, float height);
44    void setFPS(float fps);
45
46};
47
48#endif /* _MOVIE_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.