test
This commit is contained in:
parent
37776af5db
commit
ab03d5f10c
4045 changed files with 286212 additions and 3 deletions
30
.config/Code/User/History/-322e7254/2pPN.h
Normal file
30
.config/Code/User/History/-322e7254/2pPN.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
Food* getFood();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
18
.config/Code/User/History/-322e7254/3Acd.h
Normal file
18
.config/Code/User/History/-322e7254/3Acd.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
void checkCollision(Ball& ball);
|
||||
|
||||
|
||||
};
|
15
.config/Code/User/History/-322e7254/5hrE.h
Normal file
15
.config/Code/User/History/-322e7254/5hrE.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
class Brick{
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(int strength);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
30
.config/Code/User/History/-322e7254/9shj.h
Normal file
30
.config/Code/User/History/-322e7254/9shj.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
int checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
Food* getFood();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
15
.config/Code/User/History/-322e7254/AZ2p.h
Normal file
15
.config/Code/User/History/-322e7254/AZ2p.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
};
|
19
.config/Code/User/History/-322e7254/C73W.h
Normal file
19
.config/Code/User/History/-322e7254/C73W.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
void draw();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
21
.config/Code/User/History/-322e7254/CX4P.h
Normal file
21
.config/Code/User/History/-322e7254/CX4P.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color, int strength);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
};
|
30
.config/Code/User/History/-322e7254/KM7p.h
Normal file
30
.config/Code/User/History/-322e7254/KM7p.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
void checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
Food* getFood();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
15
.config/Code/User/History/-322e7254/LRbd.h
Normal file
15
.config/Code/User/History/-322e7254/LRbd.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw();
|
||||
|
||||
};
|
21
.config/Code/User/History/-322e7254/NPrP.h
Normal file
21
.config/Code/User/History/-322e7254/NPrP.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
void checkCollision(Ball& ball);
|
||||
|
||||
};
|
25
.config/Code/User/History/-322e7254/NcR2.h
Normal file
25
.config/Code/User/History/-322e7254/NcR2.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
float* getColor();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
25
.config/Code/User/History/-322e7254/PRfo.h
Normal file
25
.config/Code/User/History/-322e7254/PRfo.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.cpp"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
29
.config/Code/User/History/-322e7254/RwtS.h
Normal file
29
.config/Code/User/History/-322e7254/RwtS.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
27
.config/Code/User/History/-322e7254/UJlK.h
Normal file
27
.config/Code/User/History/-322e7254/UJlK.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
14
.config/Code/User/History/-322e7254/UUgh.h
Normal file
14
.config/Code/User/History/-322e7254/UUgh.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
void draw();
|
||||
|
||||
};
|
14
.config/Code/User/History/-322e7254/UrWv.h
Normal file
14
.config/Code/User/History/-322e7254/UrWv.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
class Brick{
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(int strength);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
21
.config/Code/User/History/-322e7254/XC4f.h
Normal file
21
.config/Code/User/History/-322e7254/XC4f.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color, int strength);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
};
|
25
.config/Code/User/History/-322e7254/aMjI.h
Normal file
25
.config/Code/User/History/-322e7254/aMjI.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
18
.config/Code/User/History/-322e7254/atCZ.h
Normal file
18
.config/Code/User/History/-322e7254/atCZ.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(int strength);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
11
.config/Code/User/History/-322e7254/dRNM.h
Normal file
11
.config/Code/User/History/-322e7254/dRNM.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
class Brick{
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
1
.config/Code/User/History/-322e7254/entries.json
Normal file
1
.config/Code/User/History/-322e7254/entries.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":1,"resource":"file:///home/rafayahmad/Stuff/OOP/Project/Brick.h","entries":[{"id":"stDg.h","timestamp":1714295329111},{"id":"dRNM.h","timestamp":1714295381096},{"id":"UrWv.h","timestamp":1714295433483},{"id":"5hrE.h","timestamp":1714407399973},{"id":"atCZ.h","timestamp":1714407441929},{"id":"kvE2.h","timestamp":1714407733327},{"id":"C73W.h","timestamp":1714407907072},{"id":"UUgh.h","timestamp":1714407969889},{"id":"LRbd.h","timestamp":1714407983202},{"id":"iqvR.h","timestamp":1714408243218},{"id":"AZ2p.h","timestamp":1714445821627},{"id":"3Acd.h","timestamp":1714455985221},{"id":"qKKR.h","timestamp":1714456000232},{"id":"gSr2.h","timestamp":1714456319243},{"id":"NPrP.h","timestamp":1714468987798},{"id":"haDF.h","timestamp":1714535958559},{"id":"CX4P.h","timestamp":1714541057048},{"id":"XC4f.h","timestamp":1714615998811},{"id":"y2Pf.h","timestamp":1714616334762},{"id":"jzr4.h","timestamp":1714700401965},{"id":"aMjI.h","timestamp":1714701413251},{"id":"PRfo.h","timestamp":1714701957994},{"id":"t0fk.h","timestamp":1714702018320},{"id":"oky5.h","timestamp":1714729233430},{"id":"NcR2.h","timestamp":1714729486275},{"id":"UJlK.h","timestamp":1714729628359},{"id":"RwtS.h","timestamp":1714731364021},{"id":"mwB9.h","timestamp":1714731793415},{"id":"9shj.h","timestamp":1714739604888},{"id":"KM7p.h","timestamp":1714823984541},{"id":"2pPN.h","timestamp":1714823999454},{"id":"sm74.h","timestamp":1715076291907}]}
|
21
.config/Code/User/History/-322e7254/gSr2.h
Normal file
21
.config/Code/User/History/-322e7254/gSr2.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
void checkCollision(Ball& ball);
|
||||
|
||||
};
|
21
.config/Code/User/History/-322e7254/haDF.h
Normal file
21
.config/Code/User/History/-322e7254/haDF.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
};
|
15
.config/Code/User/History/-322e7254/iqvR.h
Normal file
15
.config/Code/User/History/-322e7254/iqvR.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
};
|
22
.config/Code/User/History/-322e7254/jzr4.h
Normal file
22
.config/Code/User/History/-322e7254/jzr4.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
18
.config/Code/User/History/-322e7254/kvE2.h
Normal file
18
.config/Code/User/History/-322e7254/kvE2.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
30
.config/Code/User/History/-322e7254/mwB9.h
Normal file
30
.config/Code/User/History/-322e7254/mwB9.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
Food* getFood();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
23
.config/Code/User/History/-322e7254/oky5.h
Normal file
23
.config/Code/User/History/-322e7254/oky5.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
19
.config/Code/User/History/-322e7254/qKKR.h
Normal file
19
.config/Code/User/History/-322e7254/qKKR.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 65;
|
||||
const int height = 18;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick(float *color);
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
void checkCollision(Ball& ball);
|
||||
|
||||
};
|
34
.config/Code/User/History/-322e7254/sm74.h
Normal file
34
.config/Code/User/History/-322e7254/sm74.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
#ifndef BRICK_H
|
||||
#define BRICK_H
|
||||
|
||||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
int getX();
|
||||
int getY();
|
||||
float* getColor();
|
||||
Food* getFood();
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
||||
#endif
|
9
.config/Code/User/History/-322e7254/stDg.h
Normal file
9
.config/Code/User/History/-322e7254/stDg.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
class Brick{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
25
.config/Code/User/History/-322e7254/t0fk.h
Normal file
25
.config/Code/User/History/-322e7254/t0fk.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "Ball.h"
|
||||
#include "Food.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
Food *food;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
~Brick();
|
||||
|
||||
};
|
21
.config/Code/User/History/-322e7254/y2Pf.h
Normal file
21
.config/Code/User/History/-322e7254/y2Pf.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "Ball.h"
|
||||
|
||||
class Brick{
|
||||
|
||||
const int width = 70;
|
||||
const int height = 20;
|
||||
int x;
|
||||
int y;
|
||||
|
||||
int strength;
|
||||
float *color;
|
||||
|
||||
public:
|
||||
|
||||
Brick();
|
||||
|
||||
void draw(int row, int col);
|
||||
|
||||
bool checkCollision(Ball& ball);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue