Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6550 was 6532, checked in by bensch, 19 years ago

orxonox/trunk: merged branches/movie_play to the trunk. no conflicts, but a minor virtual function BUG

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