Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
267 B
2
Indexable
#pragma once

#include <SFML/Graphics.hpp>

struct Point
{
    int x, y;
};

class Tetromino {
public:
    Tetromino();
    void rotate();
    bool checkCollision(int field[][10], int M, int N);
    void reset(int n, int offset);

    Point a[4];
    int colorNum;
};
Leave a Comment