seminar13 - arkanoid finally splitted
This commit is contained in:
parent
c74f48cd9b
commit
a8bfa80d23
6 changed files with 18 additions and 10 deletions
|
@ -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
|
||||
|
|
Reference in a new issue