Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
PutResource Class Reference

#include <resourcenet.h>

Inheritance diagram for PutResource:
Inheritance graph

Public Member Functions

 PutResource (GameMap *gamemap, int scope=-1)
- Public Member Functions inherited from StaticResourceNet
 StaticResourceNet (GameMap *gamemap, int scope=-1)
int getresource (int x, int y, int resource, int _need, int _queryonly, int _player, int _scope)
- Public Member Functions inherited from ResourceNet
 ResourceNet (GameMap *gamemap, int _scope=-1)
- Public Member Functions inherited from MapNetwork
 MapNetwork (GameMap *gamemap, int checkInstances=1)
virtual ~MapNetwork ()

Protected Member Functions

virtual void checkbuilding (Building *b)
virtual void checkvehicle (Vehicle *v)
virtual void start (int x, int y)
- Protected Member Functions inherited from StaticResourceNet
virtual int searchfinished (void)
- Protected Member Functions inherited from ResourceNet
virtual int fieldavail (int x, int y)
virtual int globalsearch (void)
- Protected Member Functions inherited from MapNetwork
virtual void searchbuilding (int x, int y)
virtual void searchvehicle (int x, int y)
virtual void searchfield (int x, int y, int dir)
void searchAllVehiclesNextToBuildings (int player)

Additional Inherited Members

- Public Types inherited from MapNetwork
enum  Scope { singleField, net, wholeMap, globalPool }
- Protected Attributes inherited from StaticResourceNet
int need
int got
int queryonly
int player
- Protected Attributes inherited from ResourceNet
int resourcetype
int scope
- Protected Attributes inherited from MapNetwork
int pass
MapCoordinate startposition

Detailed Description

Definition at line 105 of file resourcenet.h.

Constructor & Destructor Documentation

PutResource::PutResource ( GameMap gamemap,
int  scope = -1 

Definition at line 111 of file resourcenet.h.

Member Function Documentation

void PutResource::checkbuilding ( Building b)
virtual void PutResource::checkvehicle ( Vehicle v)

Implements MapNetwork.

Definition at line 108 of file resourcenet.h.

void PutResource::start ( int  x,
int  y 

The documentation for this class was generated from the following files: