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

Public Member Functions | |
| PutResource (GameMap *gamemap, int scope=-1) | |
Protected Member Functions | |
| virtual void | checkbuilding (Building *b) |
| virtual void | checkvehicle (Vehicle *v) |
| virtual void | start (int x, int y) |
Definition at line 105 of file resourcenet.h.
| PutResource::PutResource | ( | GameMap * | gamemap, | |
| int | scope = -1 | |||
| ) | [inline] |
Definition at line 111 of file resourcenet.h.
| void PutResource::checkbuilding | ( | Building * | b | ) | [protected, virtual] |
Implements MapNetwork.
Definition at line 399 of file resourcenet.cpp.
References Building::actstorage, cnet_stopenergyinput, ContainerBase::color, displaymessage(), Building::getEntry(), ContainerBase::getStorageCapacity(), StaticResourceNet::got, StaticResourceNet::need, Building::netcontrol, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), resourceNames, ResourceNet::resourcetype, MapCoordinate::x, and MapCoordinate::y.
| virtual void PutResource::checkvehicle | ( | Vehicle * | v | ) | [inline, protected, virtual] |
| void PutResource::start | ( | int | x, | |
| int | y | |||
| ) | [protected, virtual] |
Reimplemented from MapNetwork.
Definition at line 421 of file resourcenet.cpp.
References MapNetwork::actmap, GameMap::bi_resource, StaticResourceNet::got, maxint, StaticResourceNet::need, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), ResourceNet::resourcetype, ResourceNet::scope, and MapNetwork::start().
1.5.1