diff --git a/assets/Scenes/Game.scene b/assets/Scenes/Game.scene index dda83d9..3cadb2a 100644 --- a/assets/Scenes/Game.scene +++ b/assets/Scenes/Game.scene @@ -196,7 +196,7 @@ "_enabled": true, "__prefab": null, "startTime": 0, - "startXP": 200, + "startXP": 0, "maxHpLevel": 0, "bonusDamageLevel": 0, "projectilePiercingLevel": 0, diff --git a/assets/Scripts/Game/Game.ts b/assets/Scripts/Game/Game.ts index d52feaa..d256872 100644 --- a/assets/Scripts/Game/Game.ts +++ b/assets/Scripts/Game/Game.ts @@ -21,7 +21,8 @@ import { EnemyManager } from "./Unit/Enemy/EnemyManager"; import { MetaUpgrades } from "./Unit/MetaUpgrades/MetaUpgrades"; import { Player, PlayerData } from "./Unit/Player/Player"; import { HaloProjectileLauncher } from "./Unit/Player/ProjectileLauncher/HaloProjectileLauncher"; -import { ProjectileData, ProjectileLauncher } from "./Unit/Player/ProjectileLauncher/ProjectileLauncher"; +import { ProjectileLauncher } from "./Unit/Player/ProjectileLauncher/ProjectileLauncher"; +import { ProjectileData } from "./Unit/Player/ProjectileLauncher/ProjectileData"; import { WaveProjectileLauncher } from "./Unit/Player/ProjectileLauncher/WaveProjectileLauncher"; import { Upgrader } from "./Upgrades/Upgrader"; import { MetaUpgradeType } from "./Upgrades/UpgradeType"; diff --git a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/HaloProjectileLauncher.ts b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/HaloProjectileLauncher.ts index 2b14049..0bc5c1a 100644 --- a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/HaloProjectileLauncher.ts +++ b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/HaloProjectileLauncher.ts @@ -4,7 +4,8 @@ import { roundToOneDecimal } from "../../../../Services/Utils/MathUtils"; import { HaloLauncherSettings } from "../../../Data/GameSettings"; import { ProjectileCollision } from "../../../Projectile/ProjectileCollision"; import { IProjectileCollisionSignaler } from "../../../Projectile/IProjectileCollisionSignaler"; -import { ProjectileData, ProjectileLauncher } from "./ProjectileLauncher"; +import { ProjectileLauncher } from "./ProjectileLauncher"; +import { ProjectileData } from "./ProjectileData"; import { GameTimer } from "../../../../Services/GameTimer"; export class HaloProjectileLauncher implements IProjectileCollisionSignaler { diff --git a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts new file mode 100644 index 0000000..c25284a --- /dev/null +++ b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts @@ -0,0 +1,4 @@ +export class ProjectileData { + public pierces = 0; + public damage = 0; +} diff --git a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts.meta b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts.meta new file mode 100644 index 0000000..5ab9390 --- /dev/null +++ b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileData.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "a4a076f3-e9fa-4838-bc7c-886d9aac8f60", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileLauncher.ts b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileLauncher.ts index 704af92..8a8e27a 100644 --- a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileLauncher.ts +++ b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/ProjectileLauncher.ts @@ -107,8 +107,3 @@ export class ProjectileLauncher extends Component implements IProjectileCollisio this.projectileCollisionEvent.trigger(projectlieCollision); } } - -export class ProjectileData { - public pierces = 0; - public damage = 0; -} diff --git a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/WaveProjectileLauncher.ts b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/WaveProjectileLauncher.ts index 1c8288d..35a6e70 100644 --- a/assets/Scripts/Game/Unit/Player/ProjectileLauncher/WaveProjectileLauncher.ts +++ b/assets/Scripts/Game/Unit/Player/ProjectileLauncher/WaveProjectileLauncher.ts @@ -5,7 +5,8 @@ import { delay } from "../../../../Services/Utils/AsyncUtils"; import { WaveLauncherSettings } from "../../../Data/GameSettings"; import { IProjectileCollisionSignaler } from "../../../Projectile/IProjectileCollisionSignaler"; import { ProjectileCollision } from "../../../Projectile/ProjectileCollision"; -import { ProjectileData, ProjectileLauncher } from "./ProjectileLauncher"; +import { ProjectileLauncher } from "./ProjectileLauncher"; +import { ProjectileData } from "./ProjectileData"; export class WaveProjectileLauncher implements IProjectileCollisionSignaler { private currentUpgrade = 0;