Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10425 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
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;
13
14class MovieEntity : public WorldEntity
15{
[9869]16  ObjectListDeclaration(MovieEntity);
[6488]17  private:
[6507]18    MediaContainer* media_container;
[6488]19
20    int counter;
21    float timer;
22    float fps;
23
[6508]24    float axis;
25    float rotation;
26    float height;
27    float width;
28
[6731]29    bool mediaLoaded;
30
[6488]31  public:
[6489]32    MovieEntity (const TiXmlElement* root = NULL);
[6981]33    virtual ~MovieEntity ();
[6488]34
35    virtual void draw () const;
36    virtual void tick (float time);
[6508]37
[6532]38    virtual void loadParams(const TiXmlElement* root);
[6508]39
[7221]40    void loadMovie(const std::string& filename);
[6508]41    void setAxis(float axis);
42    void setRotation(float rotation);
43    void setSize(float width, float height);
[7010]44    void setFPS(float fps);
[6488]45
46};
47
[6507]48#endif /* _MOVIE_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.