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

#include <resourcenet.h>

Inheritance diagram for GetResourcePlus:
Inheritance graph
[legend]

Public Member Functions

 GetResourcePlus (GameMap *gamemap)
 
- Public Member Functions inherited from ResourceChangeNet
int getresource (int x, int y, int resource, int _player, int _scope)
 
 ResourceChangeNet (GameMap *gamemap)
 
- Public Member Functions inherited from ResourceNet
 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 void checkbuilding (Building *b)
 
virtual void checkvehicle (Vehicle *v)
 
- Protected Member Functions inherited from ResourceChangeNet
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 ResourceChangeNet
int got
 
int player
 
- Protected Attributes inherited from ResourceNet
int resourcetype
 
int scope
 
- Protected Attributes inherited from MapNetwork
GameMapactmap
 
int pass
 
MapCoordinate startposition
 

Detailed Description

Definition at line 155 of file resourcenet.h.

Constructor & Destructor Documentation

GetResourcePlus::GetResourcePlus ( GameMap gamemap)
inline

Definition at line 160 of file resourcenet.h.

Member Function Documentation

void GetResourcePlus::checkbuilding ( Building b)
protectedvirtual
void GetResourcePlus::checkvehicle ( Vehicle v)
protectedvirtual

Implements MapNetwork.

Definition at line 648 of file resourcenet.cpp.


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