#include <weatherarea.h>
Public Member Functions | |
| WeatherField (GameMap *map) | |
| WeatherField (MapCoordinate mapPos, const WeatherArea *area) | |
| ~WeatherField () | |
| void | move (const Vector2D &vector) |
| bool | isOnMap (const GameMap *map) const |
| void | update (const WeatherArea *, FieldSet &processedFields) |
| void | reset (GameMap *m, const WeatherArea *, FieldSet &processedFields) |
| void | write (tnstream &outputStream) const |
| void | read (tnstream &inputStream) |
| void | setValue (int v) |
| int | getValue () |
Public Attributes | |
| MapCoordinate | posInArea |
|
|
Definition at line 384 of file weatherarea.cpp. |
|
||||||||||||
|
Definition at line 386 of file weatherarea.cpp. References WeatherArea::getMap(), isOnMap(), posInArea, MapCoordinate::x, and MapCoordinate::y. |
|
|
Definition at line 393 of file weatherarea.cpp. |
|
|
Definition at line 442 of file weatherarea.cpp. |
|
|
Definition at line 403 of file weatherarea.cpp. References posInArea, MapCoordinate::x, GameMap::xsize, MapCoordinate::y, and GameMap::ysize. Referenced by WeatherArea::placeArea(), WeatherArea::removeArea(), WeatherArea::update(), and WeatherField(). |
|
|
Definition at line 395 of file weatherarea.cpp. References Vector2D::getXComponent(), Vector2D::getYComponent(), MapCoordinate::move(), and posInArea. Referenced by WeatherArea::update(). |
|
|
Definition at line 430 of file weatherarea.cpp. Referenced by WeatherArea::read(). |
|
||||||||||||||||
|
Definition at line 412 of file weatherarea.cpp. References tfield::setparams(), and tfield::setweather(). Referenced by WeatherArea::removeArea(), and WeatherArea::update(). |
|
|
Definition at line 438 of file weatherarea.cpp. |
|
||||||||||||
|
Definition at line 419 of file weatherarea.cpp. References posInArea, tfield::setparams(), tfield::setweather(), MapCoordinate::x, and MapCoordinate::y. Referenced by WeatherArea::placeArea(), and WeatherArea::update(). |
|
|
Definition at line 426 of file weatherarea.cpp. |
|
|
Definition at line 236 of file weatherarea.h. Referenced by isOnMap(), move(), update(), and WeatherField(). |
1.4.2