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

#include <resourcenet.h>

Inheritance diagram for ResourceChangeNet:
Inheritance graph

Public Member Functions

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 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 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 got
int player
- Protected Attributes inherited from ResourceNet
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 137 of file resourcenet.h.

Constructor & Destructor Documentation

ResourceChangeNet::ResourceChangeNet ( GameMap gamemap)

Definition at line 150 of file resourcenet.h.

Member Function Documentation

int ResourceChangeNet::getresource ( int  x,
int  y,
int  resource,
int  _player,
int  _scope 
virtual int ResourceChangeNet::searchfinished ( void  )

Implements MapNetwork.

Definition at line 142 of file resourcenet.h.

Member Data Documentation

int ResourceChangeNet::got
int ResourceChangeNet::player

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