#include <resourcenet.h>
Inheritance diagram for GetResource:

Public Member Functions | |
| GetResource (GameMap *gamemap, int scope=-1) | |
Protected Member Functions | |
| virtual void | checkvehicle (Vehicle *v) |
| virtual void | checkbuilding (Building *b) |
| virtual void | start (int x, int y) |
Protected Attributes | |
| int | tributegot [3][8] |
|
||||||||||||
|
Definition at line 310 of file resourcenet.cpp. References tributegot. |
|
|
Implements MapNetwork. Definition at line 324 of file resourcenet.cpp. References MapNetwork::actmap, GameMap::ResourceTribute::avail, cnet_stopenergyoutput, displaymessage(), StaticResourceNet::got, StaticResourceNet::need, GameMap::ResourceTribute::paid, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), resourceNames, ResourceNet::resourcetype, GameMap::tribute, tributegot, and tributeTransferred. |
|
|
Implements MapNetwork. Definition at line 317 of file resourcenet.cpp. References ContainerBase::color, Resources::Energy, Vehicle::getResource(), StaticResourceNet::got, StaticResourceNet::need, StaticResourceNet::player, StaticResourceNet::queryonly, and ResourceNet::resourcetype. |
|
||||||||||||
|
Reimplemented from MapNetwork. Definition at line 375 of file resourcenet.cpp. References MapNetwork::actmap, GameMap::bi_resource, StaticResourceNet::got, StaticResourceNet::need, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), ResourceNet::resourcetype, ResourceNet::scope, MapNetwork::searchAllVehiclesNextToBuildings(), and MapNetwork::start(). |
|
|
Definition at line 97 of file resourcenet.h. Referenced by checkbuilding(), and GetResource(). |
1.4.2