mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-26 03:38:58 +00:00
Imports
This commit is contained in:
parent
718d297318
commit
06ada007ec
@ -1,8 +1,8 @@
|
|||||||
import { GameTimer } from "../../../../Services/GameTimer";
|
import { GameTimer } from "../../../../Services/GameTimer";
|
||||||
import { roundToOneDecimal } from "../../../../Services/Utils/MathUtils";
|
import { roundToOneDecimal } from "../../../../Services/Utils/MathUtils";
|
||||||
import { EnemyMovementType } from "../EnemyMovementType";
|
import { EnemyMovementType } from "../EnemyMovementType";
|
||||||
import { EnemySpawner } from "../EnemySpawner";
|
|
||||||
import { EnemyType } from "../EnemyType";
|
import { EnemyType } from "../EnemyType";
|
||||||
|
import { EnemySpawner } from "./EnemySpawner";
|
||||||
|
|
||||||
export class CircularEnemySpawner {
|
export class CircularEnemySpawner {
|
||||||
private spawnTimer: GameTimer = new GameTimer(10);
|
private spawnTimer: GameTimer = new GameTimer(10);
|
||||||
|
@ -2,8 +2,8 @@ import { randomRange } from "cc";
|
|||||||
import { GameTimer } from "../../../../Services/GameTimer";
|
import { GameTimer } from "../../../../Services/GameTimer";
|
||||||
import { randomPositiveOrNegative } from "../../../../Services/Utils/MathUtils";
|
import { randomPositiveOrNegative } from "../../../../Services/Utils/MathUtils";
|
||||||
import { EnemyMovementType } from "../EnemyMovementType";
|
import { EnemyMovementType } from "../EnemyMovementType";
|
||||||
import { EnemySpawner } from "../EnemySpawner";
|
|
||||||
import { EnemyType } from "../EnemyType";
|
import { EnemyType } from "../EnemyType";
|
||||||
|
import { EnemySpawner } from "./EnemySpawner";
|
||||||
|
|
||||||
export class IndividualEnemySpawner {
|
export class IndividualEnemySpawner {
|
||||||
private spawnTimer: GameTimer = new GameTimer(1);
|
private spawnTimer: GameTimer = new GameTimer(1);
|
||||||
|
@ -4,8 +4,8 @@ import { randomPositiveOrNegative } from "../../../../Services/Utils/MathUtils";
|
|||||||
import { WaveEnemySpawnerSettings } from "../../../Data/GameSettings";
|
import { WaveEnemySpawnerSettings } from "../../../Data/GameSettings";
|
||||||
import { Enemy } from "../Enemy";
|
import { Enemy } from "../Enemy";
|
||||||
import { EnemyMovementType } from "../EnemyMovementType";
|
import { EnemyMovementType } from "../EnemyMovementType";
|
||||||
import { EnemySpawner } from "../EnemySpawner";
|
|
||||||
import { EnemyType } from "../EnemyType";
|
import { EnemyType } from "../EnemyType";
|
||||||
|
import { EnemySpawner } from "./EnemySpawner";
|
||||||
|
|
||||||
export class WaveEnemySpawner {
|
export class WaveEnemySpawner {
|
||||||
private enemiesPerWave: number;
|
private enemiesPerWave: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user