Main Page Alphabetical List Data Structures File List Globals
piece Struct Reference
Detailed Description
This structure is used to define the data of a piece in the Stratego game. It is also used to define the battlefield_piece structure which defines every piece in the game. Every piece on the battle board needs to have the characteristics described by the fields of the piece composite
Fields of piece composite:
- String name
Piece name i.e.Marshal, General, Bomb - int rank
The rank of every piece identified by its name - int revealed
A field describing if the piece being referenced has been revealed or not i.e. if it can be shown to the opponent. A piece is revealed only if it has participated in a battle
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