Separate out Main.cpp
This commit is contained in:
parent
77d634015f
commit
48886ecfd8
10 changed files with 219 additions and 170 deletions
8
src/TileType.cpp
Normal file
8
src/TileType.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue