File indexing completed on 2024-04-28 07:53:27

0001 /*
0002     KShisen - A japanese game similar to Mahjongg
0003     SPDX-FileCopyrightText: 2016 Frederik Schwarzer <schwarzer@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KSHISEN_TYPES_H
0009 #define KSHISEN_TYPES_H
0010 
0011 #include <QList>
0012 #include <QPoint>
0013 
0014 namespace KShisen
0015 {
0016 using TilePos = QPoint;
0017 
0018 /**
0019  * A list of positions (at least 2) makes a Path
0020  */
0021 using Path = QList<TilePos>;
0022 
0023 using Slide = QList<TilePos>;
0024 }
0025 
0026 #endif // KSHISEN_TYPES_H
0027 
0028 // vim: expandtab:tabstop=4:shiftwidth=4
0029 // kate: space-indent on; indent-width 4