Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weather_effects/sun_effect.cc @ 10667

Last change on this file since 10667 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: 1.1 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 "sun_effect.h"
19
20#include "util/loading/load_param.h"
21
22
23
24
25
26
27/**
28 * @param root The XML-element to load the SunEffect from
29 */
30SunEffect::SunEffect(const TiXmlElement* root)
31{
32//  this->setClassID(CL_SUN_EFFECT, "SunEffect");
33  this->bActivated = false;
34}
35
36
37/**
38 *  destroys a SunEffect
39 */
40SunEffect::~SunEffect()
41{
42
43}
44
45
46/**
47 * @param root The XML-element to load the SunEffect from
48 */
49void SunEffect::loadParams(const TiXmlElement* root)
50{
51  BaseObject::loadParams(root);
52}
53
54
55/**
56 *  initializes the graphics effect
57 */
58void SunEffect::init()
59{}
60
61
62
63/**
64 * draws the effect, if needed
65 */
66void SunEffect::draw() const
67{}
68
69
70
71/**
72 * ticks the effect if there is any time dependancy
73 */
74void SunEffect::tick(float dt)
75{}
76
Note: See TracBrowser for help on using the repository browser.