freg
0.3
Free-Roaming Elementary Game
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Weather.h
Go to the documentation of this file.
1
/* freg, Free-Roaming Elementary Game with open and interactive world
2
* Copyright (C) 2012-2014 Alexander 'mmaulwurff' Kromm
3
* mmaulwurff@gmail.com
4
*
5
* This file is part of FREG.
6
*
7
* FREG is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* FREG is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with FREG. If not, see <http://www.gnu.org/licenses/>. */
19
20
#ifndef WEATHER_H
21
#define WEATHER_H
22
23
#include <QString>
24
25
enum
weathers
{
26
WEATHER_CLEAR
,
27
WEATHER_RAIN
,
28
WEATHER_DEW
,
29
WEATHER_CLOUDS
30
};
31
32
class
Weather
{
33
public
:
34
void
SetWeather
(
weathers
);
35
weathers
GetWeather
()
const
;
36
37
static
QString
GetWeatherString
(
weathers
);
38
39
private
:
40
weathers
weather
;
41
};
42
43
#endif // WEATHER_H
WEATHER_CLEAR
Definition:
Weather.h:26
WEATHER_CLOUDS
Definition:
Weather.h:29
Weather::GetWeather
weathers GetWeather() const
Definition:
Weather.cpp:24
Weather::GetWeatherString
static QString GetWeatherString(weathers)
Definition:
Weather.cpp:26
Weather::SetWeather
void SetWeather(weathers)
Definition:
Weather.cpp:23
weathers
weathers
Definition:
Weather.h:25
Weather::weather
weathers weather
Definition:
Weather.h:40
WEATHER_DEW
Definition:
Weather.h:28
Weather
Definition:
Weather.h:32
WEATHER_RAIN
Definition:
Weather.h:27
Generated on Thu Oct 2 2014 23:24:14 for freg by
1.8.7