Separate out Main.cpp

This commit is contained in:
Elnu 2022-03-10 19:18:52 -08:00
parent 77d634015f
commit 48886ecfd8
10 changed files with 219 additions and 170 deletions

8
src/TileType.cpp Normal file
View file

@ -0,0 +1,8 @@
#include <SFML/Graphics/Rect.hpp>
#include <TileType.hpp>
TileType::TileType(sf::IntRect _texture_rect, sf::IntRect _ghost_texture_rect) {
texture_rect = _texture_rect;
ghost_texture_rect = _ghost_texture_rect;
}