feat: SFML 3.0, music, upscale, faster animations
This commit is contained in:
19
src/structCandy.hpp
Normal file
19
src/structCandy.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
constexpr int tile_size = 80;
|
||||
sf::Vector2i offset(320, 40);
|
||||
|
||||
struct candy
|
||||
{
|
||||
int x, y;
|
||||
int column, row;
|
||||
int kind;
|
||||
int combination;
|
||||
int alpha;
|
||||
candy()
|
||||
{
|
||||
combination = 0;
|
||||
alpha = 255;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user