Remove unused includes and reformat
This commit is contained in:
parent
a62d668ead
commit
7081a33e35
1 changed files with 3 additions and 6 deletions
|
@ -1,18 +1,15 @@
|
||||||
#include "Canvas.hpp"
|
#include "Canvas.hpp"
|
||||||
#include "Game.hpp"
|
#include "Game.hpp"
|
||||||
#include "Ghost.hpp"
|
|
||||||
#include "PacMan.hpp"
|
|
||||||
#include "Pellets.hpp"
|
|
||||||
#include "SuperPellets.hpp"
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
Canvas::Canvas()
|
Canvas::Canvas()
|
||||||
: window(sf::VideoMode(windowDimensions().width, windowDimensions().height), "Pacman", sf::Style::Titlebar | sf::Style::Close) {
|
: window(sf::VideoMode(windowDimensions().width, windowDimensions().height),
|
||||||
|
"Pacman",
|
||||||
|
sf::Style::Titlebar | sf::Style::Close) {
|
||||||
window.setFramerateLimit(60);
|
window.setFramerateLimit(60);
|
||||||
window.setVerticalSyncEnabled(true);
|
window.setVerticalSyncEnabled(true);
|
||||||
|
|
||||||
maze_texture = loadTexture("maze.png");
|
maze_texture = loadTexture("maze.png");
|
||||||
sprites_texture = loadTexture("sprites32.png");
|
sprites_texture = loadTexture("sprites32.png");
|
||||||
game_font = loadFont("joystix.ttf");
|
game_font = loadFont("joystix.ttf");
|
||||||
|
|
Loading…
Reference in a new issue