seminar13 - arkanoid finally splitted

master
nihonium 2 years ago
parent c74f48cd9b
commit a8bfa80d23
No known key found for this signature in database
GPG Key ID: 0251623741027CFC

@ -2,9 +2,9 @@
#include <SFML/Graphics.hpp>
#include <list>
#include <cmath>
#include "arkanoid.hpp"
#include "ball.hpp"
#include "paddle.hpp"
#include "bonus.hpp"
const double pi = 3.14159265358979323846;

@ -1,9 +1,10 @@
#pragma once
#include <list>
#include "ball.hpp"
//class Ball;
#include "brick_grid.hpp"
#include "bonus.hpp"
#include "paddle.hpp"
class Bonus;
class Arkanoid
{

@ -1,5 +1,7 @@
#include <cmath>
#include "ball.hpp"
#include "brick_grid.hpp"
#include "paddle.hpp"
// Вспомагательные функции для работы с векторами типа sf::Vector2f
float operator*(const sf::Vector2f& first, const sf::Vector2f& second)

@ -1,6 +1,9 @@
#pragma once
#include "brick_grid.hpp"
#include "paddle.hpp"
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
class BrickGrid;
class Paddle;
struct Ball
{

@ -1,9 +1,9 @@
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <cmath>
#include "bonus.hpp"
#include "arkanoid.hpp"
#include "ball.hpp"
#include "paddle.hpp"
const double pi = 3.14159265358979323846;

@ -1,6 +1,8 @@
#pragma once
#include "paddle.hpp"
#include "ball.hpp"
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
class Paddle;
class Ball;
class Arkanoid;
class Bonus