Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/osX/src/world_entities/movie_entity.h @ 7235

Last change on this file since 7235 was 6731, checked in by bensch, 19 years ago

merged avi_play back to the trunk. command https://svn.orxonox.net/orxonox/branches/avi_play . -r6602:HEAD

File size: 798 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  private:
17    MediaContainer* media_container;
18
19    int counter;
20    float timer;
21    float fps;
22
23    float axis;
24    float rotation;
25    float height;
26    float width;
27
28    bool mediaLoaded;
29
30  public:
31    MovieEntity (const TiXmlElement* root = NULL);
32    ~MovieEntity ();
33
34    virtual void draw () const;
35    virtual void tick (float time);
36
37    virtual void loadParams(const TiXmlElement* root);
38
39    void loadMovie(const char* filename);
40    void setAxis(float axis);
41    void setRotation(float rotation);
42    void setSize(float width, float height);
43
44};
45
46#endif /* _MOVIE_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.