Remove unused includes and reformat

This commit is contained in:
Patricia Aas 2021-07-02 14:47:33 +02:00
parent a62d668ead
commit 7081a33e35
1 changed files with 3 additions and 6 deletions

View File

@ -1,18 +1,15 @@
#include "Canvas.hpp"
#include "Game.hpp"
#include "Ghost.hpp"
#include "PacMan.hpp"
#include "Pellets.hpp"
#include "SuperPellets.hpp"
#include <fmt/format.h>
#include <string>
#include <vector>
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.setVerticalSyncEnabled(true);
maze_texture = loadTexture("maze.png");
sprites_texture = loadTexture("sprites32.png");
game_font = loadFont("joystix.ttf");