Main Page Alphabetical List Data Structures File List Globals
battlefield_piece Struct Reference
Detailed Description
This structrure is used to define the main array of the game (battlefield) defined in the battle_core.h file. Every element in this array consists of a battlefield_piece and therefore holds the adequate information to identify a piece, its rank, if it is revealed or not (given in every piece element as well as to which player the piece belong to.
Fields of battlefield_piece composite:
- piece occupied
The piece composite contains the name and rank of the piece on the board as well as if it is revealed or not - int player
Player identification. i.e. which player this piece belongs to
The documentation for this struct was generated from the following file:
Generated on Sat Mar 16 13:12:17 2002 for SLIP 2002 - Stratego2Go by
1.2.14 written by Dimitri van Heesch,
© 1997-2002