Push new Blocks with animation
This commit is contained in:
@@ -32,14 +32,14 @@ typedef struct paddleStruct {
|
||||
|
||||
typedef struct blockStruct {
|
||||
SDL_Rect TargetRect;
|
||||
int TextureIndex, HP;
|
||||
int TextureIndex, HP, DestYValue;
|
||||
} Block; // Objekt für die Eigenschaften des Paddles
|
||||
|
||||
typedef struct sceneryStruct {
|
||||
Ball ball;
|
||||
Paddle paddle;
|
||||
Block * blocks;
|
||||
int BlockCount, Lives, StartCountdown, Frames, Score, DestroyedBlocks;
|
||||
int BlockCount, Lives, StartCountdown, Frames, Score, DestroyedBlocks, TopLeftBlockColor, XBlocks, YBlocks;
|
||||
bool IsPaused, IsGameOver;
|
||||
} Scenery; // Objekt für die Objekte und Eigenschaften einer Szenerie
|
||||
// End Structs
|
||||
|
Reference in New Issue
Block a user