Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
MapField::Resourceview Struct Reference

#include <mapfield.h>

Public Member Functions

 Resourceview (void)
 
void setview (int player, int material, int fuel)
 
void resetview (int player)
 

Public Attributes

Uint8 visible
 
Uint8 fuelvisible [8]
 
Uint8 materialvisible [8]
 

Detailed Description

Definition at line 104 of file mapfield.h.

Constructor & Destructor Documentation

MapField::Resourceview::Resourceview ( void  )

Definition at line 658 of file mapfield.cpp.

References MapField::visible.

Member Function Documentation

void MapField::Resourceview::resetview ( int  player)

Definition at line 123 of file mapfield.cpp.

References MapField::visible.

Referenced by Player::swap().

void MapField::Resourceview::setview ( int  player,
int  material,
int  fuel 
)

Definition at line 116 of file mapfield.cpp.

References MapField::fuel, fuelvisible, MapField::material, materialvisible, and visible.

Referenced by Player::swap().

Member Data Documentation

Uint8 MapField::Resourceview::fuelvisible[8]
Uint8 MapField::Resourceview::materialvisible[8]
Uint8 MapField::Resourceview::visible

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