Moving projectile launcher

This commit is contained in:
Martin 2023-01-09 11:09:06 +01:00
parent 03c7f9b16f
commit f0b4387b77
13 changed files with 32 additions and 32 deletions

View File

@ -6,8 +6,8 @@ import { ItemType } from "../Items/ItemType";
import { Enemy } from "../Unit/Enemy/Enemy"; import { Enemy } from "../Unit/Enemy/Enemy";
import { EnemyManager } from "../Unit/Enemy/EnemyManager"; import { EnemyManager } from "../Unit/Enemy/EnemyManager";
import { Player } from "../Unit/Player/Player"; import { Player } from "../Unit/Player/Player";
import { HaloProjectileLauncher } from "../Unit/Player/ProjectileLauncher/HaloProjectileLauncher"; import { HaloProjectileLauncher } from "../Projectile/ProjectileLauncher/HaloProjectileLauncher";
import { WaveProjectileLauncher } from "../Unit/Player/ProjectileLauncher/WaveProjectileLauncher"; import { WaveProjectileLauncher } from "../Projectile/ProjectileLauncher/WaveProjectileLauncher";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass("GameAudioAdapter") @ccclass("GameAudioAdapter")

View File

@ -25,10 +25,10 @@ import { EnemyManager } from "./Unit/Enemy/EnemyManager";
import { EnemyProjectileLauncher } from "./Unit/Enemy/ProjectileLauncher.cs/EnemyProjectileLauncher"; import { EnemyProjectileLauncher } from "./Unit/Enemy/ProjectileLauncher.cs/EnemyProjectileLauncher";
import { MetaUpgrades } from "./Unit/MetaUpgrades/MetaUpgrades"; import { MetaUpgrades } from "./Unit/MetaUpgrades/MetaUpgrades";
import { Player, PlayerData } from "./Unit/Player/Player"; import { Player, PlayerData } from "./Unit/Player/Player";
import { HaloProjectileLauncher } from "./Unit/Player/ProjectileLauncher/HaloProjectileLauncher"; import { HaloProjectileLauncher } from "./Projectile/ProjectileLauncher/HaloProjectileLauncher";
import { ProjectileData } from "./Unit/Player/ProjectileLauncher/ProjectileData"; import { ProjectileData } from "./Projectile/ProjectileLauncher/ProjectileData";
import { ProjectileLauncher } from "./Unit/Player/ProjectileLauncher/ProjectileLauncher"; import { ProjectileLauncher } from "./Projectile/ProjectileLauncher/ProjectileLauncher";
import { WaveProjectileLauncher } from "./Unit/Player/ProjectileLauncher/WaveProjectileLauncher"; import { WaveProjectileLauncher } from "./Projectile/ProjectileLauncher/WaveProjectileLauncher";
import { Upgrader } from "./Upgrades/Upgrader"; import { Upgrader } from "./Upgrades/Upgrader";
import { MetaUpgradeType } from "./Upgrades/UpgradeType"; import { MetaUpgradeType } from "./Upgrades/UpgradeType";

View File

@ -2,7 +2,7 @@
"ver": "1.1.0", "ver": "1.1.0",
"importer": "directory", "importer": "directory",
"imported": true, "imported": true,
"uuid": "f996de47-37ab-489b-820f-fe7a38c09c64", "uuid": "026e618b-14c5-44eb-943c-bd0fa9d59cf2",
"files": [], "files": [],
"subMetas": {}, "subMetas": {},
"userData": { "userData": {

View File

@ -1,11 +1,11 @@
import { Node, Vec2 } from "cc"; import { Node, Vec2 } from "cc";
import { ISignal } from "../../../../Services/EventSystem/ISignal"; import { ISignal } from "../../../Services/EventSystem/ISignal";
import { Signal } from "../../../../Services/EventSystem/Signal"; import { Signal } from "../../../Services/EventSystem/Signal";
import { GameTimer } from "../../../../Services/GameTimer"; import { GameTimer } from "../../../Services/GameTimer";
import { roundToOneDecimal } from "../../../../Services/Utils/MathUtils"; import { roundToOneDecimal } from "../../../Services/Utils/MathUtils";
import { HaloLauncherSettings } from "../../../Data/GameSettings"; import { HaloLauncherSettings } from "../../Data/GameSettings";
import { IProjectileLauncherSignaler } from "../../../Projectile/IProjectileLauncherSignaler"; import { IProjectileLauncherSignaler } from "../IProjectileLauncherSignaler";
import { ProjectileCollision } from "../../../Projectile/ProjectileCollision"; import { ProjectileCollision } from "../ProjectileCollision";
import { ProjectileData } from "./ProjectileData"; import { ProjectileData } from "./ProjectileData";
import { ProjectileLauncher } from "./ProjectileLauncher"; import { ProjectileLauncher } from "./ProjectileLauncher";

View File

@ -1,12 +1,12 @@
import { _decorator, Component, Prefab, Vec2, Vec3 } from "cc"; import { _decorator, Component, Prefab, Vec2, Vec3 } from "cc";
import { Empty } from "../../../../Menu/ModalWindows/Upgrades/UpgradesModalWindow"; import { Empty } from "../../../Menu/ModalWindows/Upgrades/UpgradesModalWindow";
import { ISignal } from "../../../../Services/EventSystem/ISignal"; import { ISignal } from "../../../Services/EventSystem/ISignal";
import { Signal } from "../../../../Services/EventSystem/Signal"; import { Signal } from "../../../Services/EventSystem/Signal";
import { ObjectPool } from "../../../../Services/ObjectPool"; import { ObjectPool } from "../../../Services/ObjectPool";
import { getDegreeAngleFromDirection } from "../../../../Services/Utils/MathUtils"; import { getDegreeAngleFromDirection } from "../../../Services/Utils/MathUtils";
import { IProjectileLauncherSignaler } from "../../../Projectile/IProjectileLauncherSignaler"; import { IProjectileLauncherSignaler } from "../IProjectileLauncherSignaler";
import { Projectile } from "../../../Projectile/Projectile"; import { Projectile } from "../Projectile";
import { ProjectileCollision } from "../../../Projectile/ProjectileCollision"; import { ProjectileCollision } from "../ProjectileCollision";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass("ProjectileLauncher") @ccclass("ProjectileLauncher")

View File

@ -1,11 +1,11 @@
import { Node, Vec2 } from "cc"; import { Node, Vec2 } from "cc";
import { Empty } from "../../../../Menu/ModalWindows/Upgrades/UpgradesModalWindow"; import { Empty } from "../../../Menu/ModalWindows/Upgrades/UpgradesModalWindow";
import { ISignal } from "../../../../Services/EventSystem/ISignal"; import { ISignal } from "../../../Services/EventSystem/ISignal";
import { GameTimer } from "../../../../Services/GameTimer"; import { GameTimer } from "../../../Services/GameTimer";
import { delay } from "../../../../Services/Utils/AsyncUtils"; import { delay } from "../../../Services/Utils/AsyncUtils";
import { WaveLauncherSettings } from "../../../Data/GameSettings"; import { WaveLauncherSettings } from "../../Data/GameSettings";
import { IProjectileLauncherSignaler } from "../../../Projectile/IProjectileLauncherSignaler"; import { IProjectileLauncherSignaler } from "../IProjectileLauncherSignaler";
import { ProjectileCollision } from "../../../Projectile/ProjectileCollision"; import { ProjectileCollision } from "../ProjectileCollision";
import { ProjectileData } from "./ProjectileData"; import { ProjectileData } from "./ProjectileData";
import { ProjectileLauncher } from "./ProjectileLauncher"; import { ProjectileLauncher } from "./ProjectileLauncher";

View File

@ -1,7 +1,7 @@
import { Vec3, Node, Vec2 } from "cc"; import { Vec3, Node, Vec2 } from "cc";
import { GameTimer } from "../../../../Services/GameTimer"; import { GameTimer } from "../../../../Services/GameTimer";
import { EnemyLauncherSettings } from "../../../Data/GameSettings"; import { EnemyLauncherSettings } from "../../../Data/GameSettings";
import { ProjectileLauncher } from "../../Player/ProjectileLauncher/ProjectileLauncher"; import { ProjectileLauncher } from "../../../Projectile/ProjectileLauncher/ProjectileLauncher";
import { Enemy } from "../Enemy"; import { Enemy } from "../Enemy";
import { EnemyManager } from "../EnemyManager"; import { EnemyManager } from "../EnemyManager";

View File

@ -1,7 +1,7 @@
import { UpgradeSettings } from "../Data/GameSettings"; import { UpgradeSettings } from "../Data/GameSettings";
import { Player } from "../Unit/Player/Player"; import { Player } from "../Unit/Player/Player";
import { HaloProjectileLauncher } from "../Unit/Player/ProjectileLauncher/HaloProjectileLauncher"; import { HaloProjectileLauncher } from "../Projectile/ProjectileLauncher/HaloProjectileLauncher";
import { WaveProjectileLauncher } from "../Unit/Player/ProjectileLauncher/WaveProjectileLauncher"; import { WaveProjectileLauncher } from "../Projectile/ProjectileLauncher/WaveProjectileLauncher";
import { UpgradeType } from "./UpgradeType"; import { UpgradeType } from "./UpgradeType";
export class Upgrader { export class Upgrader {