CBomberMove.h File Reference

Header file of bomber moves. More...

#include "STDAFX.H"

Include dependency graph for CBomberMove.h:

This graph shows which files directly or indirectly include this file:


Classes

class  CBomberMove
 This class manages the moves of a bomber. More...

Enumerations

enum  EBomberMove {
  BOMBERMOVE_NONE, BOMBERMOVE_UP, BOMBERMOVE_DOWN, BOMBERMOVE_LEFT,
  BOMBERMOVE_RIGHT, BOMBERMOVE_UPLEFT, BOMBERMOVE_UPRIGHT, BOMBERMOVE_DOWNLEFT,
  BOMBERMOVE_DOWNRIGHT
}
 Describes a bomber move command. More...
enum  ETurning {
  TURNING_NOTTURNING, TURNING_UPLEFT_UP, TURNING_UPLEFT_LEFT, TURNING_UPRIGHT_UP,
  TURNING_UPRIGHT_RIGHT, TURNING_DOWNLEFT_DOWN, TURNING_DOWNLEFT_LEFT, TURNING_DOWNRIGHT_DOWN,
  TURNING_DOWNRIGHT_RIGHT
}
 Describes the type of turning of the bomber. More...
enum  ECanMove { CANMOVE_CANNOT, CANMOVE_FREEWAY, CANMOVE_AVOID, CANMOVE_TURN }
 Return type of the CanMove method. More...

Detailed Description

Header file of bomber moves.


Enumeration Type Documentation

Describes a bomber move command.

Enumerator:
BOMBERMOVE_NONE  None.
BOMBERMOVE_UP  Up only.
BOMBERMOVE_DOWN  Down only.
BOMBERMOVE_LEFT  Left only.
BOMBERMOVE_RIGHT  Right only.
BOMBERMOVE_UPLEFT  Up and left together.
BOMBERMOVE_UPRIGHT  Up and right together.
BOMBERMOVE_DOWNLEFT  Down and left together.
BOMBERMOVE_DOWNRIGHT  Down and right together.

enum ECanMove

Return type of the CanMove method.

Enumerator:
CANMOVE_CANNOT  The bomber just cannot go in the desired direction.
CANMOVE_FREEWAY  The way is totally free.
CANMOVE_AVOID  The bomber can move but has to avoid an obstacle.
CANMOVE_TURN  The bomber can move but has to turn around an obstacle.

enum ETurning

Describes the type of turning of the bomber.

Enumerator:
TURNING_NOTTURNING  Is not turning for the moment.
TURNING_UPLEFT_UP  Turning up/left, up direction was blocked before turning.
TURNING_UPLEFT_LEFT  Turning up/left, left direction was blocked before turning.
TURNING_UPRIGHT_UP 
TURNING_UPRIGHT_RIGHT 
TURNING_DOWNLEFT_DOWN 
TURNING_DOWNLEFT_LEFT 
TURNING_DOWNRIGHT_DOWN 
TURNING_DOWNRIGHT_RIGHT 


Generated on Sat Oct 18 12:26:38 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo