Folder structure

This commit is contained in:
Martin 2022-11-28 12:19:04 +01:00
parent 2a3ce76c4b
commit 55571cded9
32 changed files with 45 additions and 24 deletions

View File

@ -1633,6 +1633,9 @@
},
"_enabled": true,
"__prefab": null,
"healthUI": {
"__id__": 46
},
"_id": "49hVDAypRMuoVp+F+IPkXM"
},
{
@ -1707,7 +1710,9 @@
"collider": {
"__id__": 52
},
"playerUI": null,
"playerUI": {
"__id__": 48
},
"_id": "5aDEGDNWpIaL+U2iIxK4vA"
},
{

View File

@ -2,8 +2,8 @@ import { Collider2D, Contact2DType } from "cc";
import { GroupType } from "../GroupType";
import { Player } from "../Unit/Player/Player";
import { GameTimer } from "../../Services/GameTimer";
import { Enemy } from "../Enemy/Enemy";
import { XP } from "../XP/XP";
import { Enemy } from "../Unit/Enemy/Enemy";
export class PlayerCollisionSystem {
private playerContacts: Collider2D[] = [];

View File

@ -1,5 +1,5 @@
import { Collider2D } from "cc";
import { Enemy } from "../Enemy/Enemy";
import { Enemy } from "../Unit/Enemy/Enemy";
import { Weapon } from "../Unit/Player/Weapon/Weapon";
export class WeaponCollisionSystem {

View File

@ -3,15 +3,15 @@ import { ModalWindowManager } from "../Services/ModalWindowSystem/ModalWindowMan
import { PlayerCollisionSystem } from "./Collision/PlayerCollisionSystem";
import { WeaponCollisionSystem } from "./Collision/WeaponCollisionSystem";
import { GameSettings } from "./Data/GameSettings";
import { EnemyManager } from "./Enemy/EnemyManager";
import { KeyboardInput } from "./Input/KeyboardInput";
import { MultiInput } from "./Input/MultiInput";
import { VirtualJoystic } from "./Input/VirtualJoystic";
import { GameModalLauncher } from "./ModalWIndows/GameModalLauncher";
import { Pauser } from "./Pauser";
import { Player } from "./Player/Player";
import { Weapon } from "./Player/Weapon/Weapon";
import { GameUI } from "./UI/GameUI";
import { EnemyManager } from "./Unit/Enemy/EnemyManager";
import { Player } from "./Unit/Player/Player";
import { Weapon } from "./Unit/Player/Weapon/Weapon";
import { Upgrader } from "./Upgrades/Upgrader";
const { ccclass, property } = _decorator;

View File

@ -1,6 +1,7 @@
import { Component, ProgressBar, _decorator } from "cc";
import { Player } from "../Unit/Player/Player";
import { UnitLevel } from "../Unit/Player/UnitLevel";
import { UnitLevel } from "../Unit/UnitLevel";
const { ccclass, property } = _decorator;
@ccclass("GameUI")

View File

@ -0,0 +1,12 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "ad08b9f7-7fbc-424b-b963-fde7717fcd77",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@ -1,7 +1,8 @@
import { BoxCollider2D, Component, randomRange, Vec3, _decorator } from "cc";
import { ISignal } from "../../Services/EventSystem/ISignal";
import { Signal } from "../../Services/EventSystem/Signal";
import { UnitHealth } from "../Player/UnitHealth";
import { ISignal } from "../../../Services/EventSystem/ISignal";
import { Signal } from "../../../Services/EventSystem/Signal";
import { UnitHealth } from "../UnitHealth";
const { ccclass, property } = _decorator;
@ccclass("Enemy")

View File

@ -1,5 +1,5 @@
import { Component, Node, _decorator } from "cc";
import { XPSpawner } from "../XP/XPSpawner";
import { XPSpawner } from "../../XP/XPSpawner";
import { Enemy } from "./Enemy";
import { EnemyMover } from "./EnemyMover";
import { EnemySpawner } from "./EnemySpawner";

View File

@ -1,8 +1,9 @@
import { Component, Prefab, randomRange, Vec3, _decorator, Node } from "cc";
import { ISignal } from "../../Services/EventSystem/ISignal";
import { Signal } from "../../Services/EventSystem/Signal";
import { GameTimer } from "../../Services/GameTimer";
import { ObjectPool } from "../../Services/ObjectPool";
import { ISignal } from "../../../Services/EventSystem/ISignal";
import { Signal } from "../../../Services/EventSystem/Signal";
import { GameTimer } from "../../../Services/GameTimer";
import { ObjectPool } from "../../../Services/ObjectPool";
import { Enemy } from "./Enemy";
const { ccclass, property } = _decorator;

View File

@ -1,9 +1,10 @@
import { BoxCollider2D, Collider2D, Component, PointToPointConstraint, Vec2, Vec3, _decorator } from "cc";
import { IInput } from "../Input/IInput";
import { Weapon } from "../Weapon";
import { BoxCollider2D, Collider2D, Component, Vec2, Vec3, _decorator } from "cc";
import { IInput } from "../../Input/IInput";
import { UnitHealth } from "../UnitHealth";
import { UnitLevel } from "../UnitLevel";
import { PlayerUI } from "./PlayerUI/PlayerUI";
import { UnitHealth } from "./UnitHealth";
import { UnitLevel } from "./UnitLevel";
import { Weapon } from "./Weapon/Weapon";
const { ccclass, property } = _decorator;
@ccclass("Player")

View File

@ -1,6 +1,6 @@
import { BoxCollider2D, Collider2D, Component, Contact2DType, _decorator } from "cc";
import { ISignal } from "../../../Services/EventSystem/ISignal";
import { Signal } from "../../../Services/EventSystem/Signal";
import { ISignal } from "../../../../Services/EventSystem/ISignal";
import { Signal } from "../../../../Services/EventSystem/Signal";
const { ccclass, property } = _decorator;

View File

@ -1,6 +1,6 @@
import { Animation, AnimationState, Component, _decorator } from "cc";
import { GameTimer } from "../../../Services/GameTimer";
import { WeaponSettings } from "../../Data/GameSettings";
import { GameTimer } from "../../../../Services/GameTimer";
import { WeaponSettings } from "../../../Data/GameSettings";
import { UpgradableCollider } from "./UpgradableCollider";
const { ccclass, property } = _decorator;