Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/weather_effects.cc @ 7379

Last change on this file since 7379 was 7379, checked in by hdavid, 18 years ago

branches/atmospheric_engine: basic framework

File size: 1.2 KB
Line 
1
2
3/*
4   orxonox - the future of 3D-vertical-scrollers
5
6   Copyright (C) 2004 orx
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2, or (at your option)
11   any later version.
12
13### File Specific:
14   main-programmer: hdavid, amaechler
15*/
16
17
18#include "weather_effects.h"
19#include "util/loading/load_param.h"
20
21
22using namespace std;
23
24
25/**
26 * @param root The XML-element to load the WeatherEffects from
27 */
28WeatherEffects::WeatherEffects(const TiXmlElement* root)
29{
30  // this->setClassID(CL_WEATHER_EFFECTS, "WeatherEffects");
31  this->bActivated = false;
32}
33
34
35/**
36 *  destroys a WeatherEffects
37 */
38WeatherEffects::~WeatherEffects()
39{
40
41}
42
43
44/**
45 * @param root The XML-element to load the WeatherEffects from
46 */
47void WeatherEffects::loadParams(const TiXmlElement* root)
48{
49  BaseObject::loadParams(root);
50}
51
52
53/**
54 *  initializes the graphics effect
55 */
56bool WeatherEffects::init()
57{}
58
59
60
61/**
62 * draws the effect, if needed
63 */
64void WeatherEffects::draw() const
65{}
66
67
68
69/**
70 * ticks the effect if there is any time dependancy
71 */
72void WeatherEffects::tick(float dt)
73{}
74
Note: See TracBrowser for help on using the repository browser.