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

#include <resourcenet.h>

Inheritance diagram for ResourceNet:
Inheritance graph

Public Member Functions

 ResourceNet (GameMap *gamemap, int _scope=-1)
- Public Member Functions inherited from MapNetwork
virtual void start (int x, int y)
 MapNetwork (GameMap *gamemap, int checkInstances=1)
virtual ~MapNetwork ()

Protected Member Functions

virtual int fieldavail (int x, int y)
virtual int globalsearch (void)
- Protected Member Functions inherited from MapNetwork
virtual int searchfinished (void)=0
virtual void checkvehicle (Vehicle *v)=0
virtual void checkbuilding (Building *b)=0
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)

Protected Attributes

int resourcetype
int scope
- Protected Attributes inherited from MapNetwork
int pass
MapCoordinate startposition

Additional Inherited Members

- Public Types inherited from MapNetwork
enum  Scope { singleField, net, wholeMap, globalPool }

Detailed Description

Definition at line 54 of file resourcenet.h.

Constructor & Destructor Documentation

ResourceNet::ResourceNet ( GameMap gamemap,
int  _scope = -1 

Definition at line 56 of file resourcenet.h.

Member Function Documentation

int ResourceNet::fieldavail ( int  x,
int  y 
virtual int ResourceNet::globalsearch ( void  )

Implements MapNetwork.

Definition at line 62 of file resourcenet.h.

References scope.

Member Data Documentation

int ResourceNet::resourcetype
int ResourceNet::scope

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