SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
God Class Reference

stores all God's data More...

#include <god.h>

Public Member Functions

Position getRightHandPos (unsigned screenWidth) const
 give initial the pixel coordinates of god's right hand More...
 

Public Attributes

GodState state
 god's current state More...
 
unsigned counter
 manage all sorts of things, gods secrets remains unknown More...
 
unsigned thrownInvPosX
 x pixel coordinate of the invader thrown by the hand of god More...
 
unsigned thrownInvPosY
 y pixel coordinate of the invader thrown by the hand of god More...
 
InvaderType thrownInvType
 type of the invader thrown by the hand of god More...
 
Position thrownVector
 direction of the thrown invader movement More...
 
Position thrownTransition
 position of a point for bezier's curve More...
 

Detailed Description

stores all God's data

Hand position is determined

Definition at line 47 of file god.h.

Member Function Documentation

◆ 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 150 of file godManager.cpp.

Member Data Documentation

◆ counter

unsigned God::counter

manage all sorts of things, gods secrets remains unknown

Definition at line 58 of file god.h.

◆ state

GodState God::state

god's current state

Definition at line 53 of file god.h.

◆ thrownInvPosX

unsigned God::thrownInvPosX

x pixel coordinate of the invader thrown by the hand of god

Definition at line 66 of file god.h.

◆ thrownInvPosY

unsigned God::thrownInvPosY

y pixel coordinate of the invader thrown by the hand of god

Definition at line 71 of file god.h.

◆ thrownInvType

InvaderType God::thrownInvType

type of the invader thrown by the hand of god

Definition at line 76 of file god.h.

◆ thrownTransition

Position God::thrownTransition

position of a point for bezier's curve

Definition at line 86 of file god.h.

◆ thrownVector

Position God::thrownVector

direction of the thrown invader movement

Definition at line 81 of file god.h.


The documentation for this class was generated from the following files: