Classes | Typedefs | Enumerations | Variables
map.h File Reference

The class LabyrinthMap contains complete information about the labyrinth structure. More...

#include <iostream>

Go to the source code of this file.

Classes

struct  field_t
 Data structure for a single labyrinth field. More...
 
class  LabyrinthMap
 Class contains complete information about the labyrinth structure. More...
 

Typedefs

typedef enum PosEnum PosType
 Possible positions within a field. More...
 
typedef struct field_t field_t
 Data structure for a single labyrinth field. More...
 

Enumerations

enum  PosEnum {
  P_TOP, P_BOTTOM, P_LEFT, P_RIGHT,
  P_CENTER, P_OTHER
}
 Possible positions within a field. More...
 
enum  { red, green, neutral, none }
 Possible states of buoys. More...
 

Variables

const char * pos_to_str []
 

Detailed Description

The class LabyrinthMap contains complete information about the labyrinth structure.

Definition in file map.h.

Typedef Documentation

typedef struct field_t field_t

Data structure for a single labyrinth field.

There are more efficient ways to save the labyrinth map than a 8x8 array of type field_t but this should be easy to debug and extend.

typedef enum PosEnum PosType

Possible positions within a field.

Enumeration Type Documentation

anonymous enum

Possible states of buoys.

Definition at line 43 of file map.h.

43 { red, green, neutral, none };
enum PosEnum

Possible positions within a field.

Definition at line 36 of file map.h.

36 { P_TOP, P_BOTTOM, P_LEFT, P_RIGHT, P_CENTER, P_OTHER } PosType;
enum PosEnum PosType
Possible positions within a field.