remove unnecessary includes
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
#include "Board.hpp"
|
#include "Board.hpp"
|
||||||
#include <SFML/System/Sleep.hpp>
|
|
||||||
#include <SFML/System/Time.hpp>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "Engine.hpp"
|
|
||||||
|
|
||||||
void Board::initVariables() {
|
void Board::initVariables() {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <SFML/System/Thread.hpp>
|
#include <SFML/System/Thread.hpp>
|
||||||
#include <SFML/Window/Event.hpp>
|
#include <SFML/Window/Event.hpp>
|
||||||
#include <thread>
|
|
||||||
#include <SFML/Graphics.hpp>
|
#include <SFML/Graphics.hpp>
|
||||||
#include <SFML/System/Sleep.hpp>
|
#include <SFML/System/Sleep.hpp>
|
||||||
#include <SFML/System/Time.hpp>
|
#include <SFML/System/Time.hpp>
|
||||||
@@ -31,8 +30,6 @@ class Board {
|
|||||||
// Akcesor
|
// Akcesor
|
||||||
bool running() const;
|
bool running() const;
|
||||||
|
|
||||||
//Board(): thread(&Board::updateAndRender, this) {};
|
|
||||||
|
|
||||||
// Metody klasy
|
// Metody klasy
|
||||||
void pollEvents();
|
void pollEvents();
|
||||||
void update();
|
void update();
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
#include "Game.hpp"
|
#include "Game.hpp"
|
||||||
#include <SFML/System/Sleep.hpp>
|
|
||||||
#include <SFML/System/Time.hpp>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
Reference in New Issue
Block a user