Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core2/src/orxonox/objects/Ambient.h @ 1904

Last change on this file since 1904 was 947, checked in by landauf, 17 years ago
  • added CommandExecutor
  • added ConsoleCommand macros
  • added getTypename to all MultiTypes
  • added 2 static maps to Identifier that contain all existing Identifiers with their names and lowercase names respectively.
  • added 2 maps to each Identifier that contain all console commands of the Identifier with their names and lowercase names respectively
  • using tolower(.) and toupper(.) instead of selfmade hacks in String.h
  • added AccessLevel enum
  • added some test-console-commands to OutputHandler, Ambient and SpaceShip
File size: 706 bytes
Line 
1#ifndef _Ambient_H__
2#define _Ambient_H__
3
4#include "../OrxonoxPrereqs.h"
5
6#include "core/BaseObject.h"
7
8namespace orxonox
9{
10    class _OrxonoxExport Ambient : public BaseObject
11    {
12        public:
13            Ambient();
14            virtual ~Ambient();
15
16            void loadParams(TiXmlElement* xmlElem);
17            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
18            void setAmbientLight(const ColourValue& colour);
19
20            static void setAmbientLightTest(const ColourValue& colour)
21                { Ambient::instance_s->setAmbientLight(colour); }
22
23        private:
24            static Ambient* instance_s;
25
26    };
27}
28
29#endif /* _Ambient_H__ */
Note: See TracBrowser for help on using the repository browser.