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

Public Member Functions | |
| GetResourceCapacity (GameMap *gamemap) | |
Protected Member Functions | |
| virtual void | checkbuilding (Building *b) |
| virtual void | checkvehicle (Vehicle *v) |
| virtual void | start (int x, int y) |
| virtual int | searchfinished (void) |
Definition at line 127 of file resourcenet.h.
| GetResourceCapacity::GetResourceCapacity | ( | GameMap * | gamemap | ) | [inline] |
Definition at line 134 of file resourcenet.h.
| void GetResourceCapacity::checkbuilding | ( | Building * | b | ) | [protected, virtual] |
Implements MapNetwork.
Definition at line 595 of file resourcenet.cpp.
References cnet_stopenergyinput, ContainerBase::color, ContainerBase::getStorageCapacity(), StaticResourceNet::got, maxint, Building::netcontrol, StaticResourceNet::player, Resources::resource(), and ResourceNet::resourcetype.
| virtual void GetResourceCapacity::checkvehicle | ( | Vehicle * | v | ) | [inline, protected, virtual] |
| void GetResourceCapacity::start | ( | int | x, | |
| int | y | |||
| ) | [protected, virtual] |
Reimplemented from MapNetwork.
Definition at line 609 of file resourcenet.cpp.
References StaticResourceNet::got, maxint, ResourceNet::scope, and MapNetwork::start().
| virtual int GetResourceCapacity::searchfinished | ( | void | ) | [inline, protected, virtual] |
1.5.1