4
1
mirror of https://github.com/QuasarApp/Snake.git synced 2025-05-05 22:19:45 +00:00

move private classes into private section of the core library

This commit is contained in:
Andrei Yankovich 2021-08-03 23:02:11 +03:00
parent ba6ee5bddd
commit 3fb3cebfab
7 changed files with 10 additions and 27 deletions

@ -24,6 +24,5 @@
<file>CrawlCoreAssets/particles/smokeSprite.png</file>
<file>CrawlModule/particles/Fire.qml</file>
<file>CrawlModule/particles/Wint.qml</file>
<file>CrawlModule/particles/BaseAffector.qml</file>
</qresource>
</RCC>

@ -1,22 +0,0 @@
//#
//# Copyright (C) 2021-2021 QuasarApp.
//# Distributed under the GPLv3 software license, see the accompanying
//# Everyone is permitted to copy and distribute verbatim copies
//# of this license document, but changing it is not allowed.
//#
import QtQuick
import QtQuick3D
import QtQuick3D.Particles3D
Affector3D {
property var model: null
property int guiId: (model) ? model.guiId : -1;
rotation: (model)? model.rotation: Qt.quaternion(0, 0, 0, 0)
scale: (model)? model.size: Qt.vector3d(0, 0, 0);
position: (model) ? model.position: Qt.vector3d(0,0,0);
visible: (model)? model.visible: false
enabled: (model)? model.enabled: false
}

@ -2,3 +2,9 @@ module CrawlModule
Crawl 1.0 Crawl.qml
DefaultMenu 1.0 DefaultMenu.qml
GraphicItem 1.0 GraphicItem.qml
ParticleEffect 1.0 ParticleEffect.qml
Light 1.0 Light.qml
GraphicItem 1.0 GraphicItem.qml
GraphicItem 1.0 GraphicItem.qml
GraphicItem 1.0 GraphicItem.qml
GraphicItem 1.0 GraphicItem.qml

@ -5,7 +5,7 @@
//# of this license document, but changing it is not allowed.
//#
#include "viewtemaplatemodel.h"
#include "Crawl/viewtemaplatemodel.h"
#include <QVector3D>
#include "global.h"
@ -30,7 +30,7 @@ namespace CRAWL {
* @note This class use the CrawlTargetDirection.qml template as a view temaplate.
*/
class CRAWL_EXPORT TargetDirection: public ViewTemaplateModel
class TargetDirection: public ViewTemaplateModel
{
Q_OBJECT

@ -9,7 +9,7 @@
#ifndef VECTORDIRECTION_H
#define VECTORDIRECTION_H
#include "viewtemaplatemodel.h"
#include "Crawl/viewtemaplatemodel.h"
#include <QVector3D>
#include "global.h"
@ -29,7 +29,7 @@ namespace CRAWL {
*
* @note This class use the CrawlVectorDirection.qml template as a view temaplate.
*/
class CRAWL_EXPORT VectorDirection: public ViewTemaplateModel
class VectorDirection: public ViewTemaplateModel
{
Q_OBJECT