@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
42 lines • 1.28 kB
JavaScript
/**
* Jungle-AI Classes - Nonplayer faction classes
* Jungle-AI is a hostile non-player faction that guards XP towers
* Simple faction with only basic units, no heroes, buildings, or abilities
*/
import { NonPlayerFaction } from "../engine/faction.js";
import { ArmyUnit } from "../engine/unit.js";
/**
* Jungle-AI faction class extending NonPlayerFaction
* Nonplayer factions are simpler than main/mercenary factions
*/
export class JungleAIFaction extends NonPlayerFaction {
constructor() {
super();
// Set faction properties
this.faction = "jungle-ai";
this.factionName = "Jungle AI";
// Jungle-AI is a hostile non-player faction
}
}
/**
* Jungle-AI unit class - simple guardian creatures
* These are basic army units that guard strategic locations
*/
export class JungleAIUnit extends ArmyUnit {
constructor() {
super();
this.faction = "jungle-ai";
this.factionName = "Jungle AI";
// Jungle-AI units are basic guardian creatures
}
}
/**
* Concrete Jungle-AI army unit implementation
*/
export class JungleAIArmyUnit extends JungleAIUnit {
constructor() {
super();
// Jungle-AI units are basic guardian creatures
}
}
//# sourceMappingURL=jungle-ai.js.map