stores all God's data
More...
#include <god.h>
stores all God's data
Hand position is determined
Definition at line 47 of file god.h.
◆ getRightHandPos()
Position God::getRightHandPos |
( |
unsigned |
screenWidth | ) |
const |
give initial the pixel coordinates of god's right hand
- Parameters
-
[in] | screenWidth | : width of the screen in pixel |
- Returns
- pixel coordinates of the hand
Definition at line 151 of file godManager.cpp.
◆ counter
timer used differently in all states
Definition at line 58 of file god.h.
◆ state
god's current state
Definition at line 53 of file god.h.
◆ thrownInvPosX
unsigned God::thrownInvPosX |
x index (column in the grid) of the invader thrown by the hand of god
Definition at line 65 of file god.h.
◆ thrownInvPosY
unsigned God::thrownInvPosY |
y index (invader in the column) of the invader thrown by the hand of god
Definition at line 70 of file god.h.
◆ thrownInvType
type of the invader thrown by the hand of god
Definition at line 75 of file god.h.
◆ thrownTransition
position of a point for bezier's curve (used in RETRIEVE1 and RETRIEVE2 states, for the hand animation)
Definition at line 85 of file god.h.
◆ thrownVector
direction of the thrown invader movement
Definition at line 80 of file god.h.
The documentation for this class was generated from the following files: