Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/bsp_model/src/world_entities/effects/billboard.h @ 8625

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

merged the atmos back with command: https://svn.orxonox.net/orxonox/branches/atmospheric_engine

File size: 595 bytes
Line 
1/*!
2 * @file billboard.h
3 */
4
5#ifndef _BILLBOARD_H
6#define _BILLBOARD_H
7
8#include "world_entity.h"
9
10class Material;
11class TiXmlElement;
12
13class Billboard : public WorldEntity
14{
15  public:
16    Billboard(const TiXmlElement* root = NULL);
17    virtual ~Billboard();
18
19    void init();
20    void loadParams(const TiXmlElement* root);
21
22    void setSize(float sizeX, float sizeY);
23    void setTexture(const std::string& textureFile);
24
25    virtual void tick(float dt);
26    virtual void draw() const;
27
28  private:
29    Material*        material;
30    float sizeX;
31    float sizeY;
32};
33
34#endif /* _BILLBOARD_H */
Note: See TracBrowser for help on using the repository browser.