breakout/breakout.h
2018-01-09 13:22:10 +01:00

33 lines
533 B
C

#ifndef __breakout_h__
#define __breakout_h__
#include "vector.h"
// Structs
typedef struct ballStruct {
Vector Location, Momentum;
SDL_Rect TargetRect;
} Ball;
typedef struct paddleStruct {
double XLocation;
SDL_Rect TargetRect;
} Paddle;
typedef struct blockStruct {
Vector Location;
SDL_Rect TargetRect;
} Block;
typedef struct powerupStruct { // Maybe implement later
Vector Location;
SDL_Rect TargetRect;
} Powerup;
// End Structs
// Prototypes
// End Prototypes
#endif // __breakout_h__