Combine Unit & MutableUnit

This commit is contained in:
evanpelle
2025-01-23 11:14:08 -08:00
committed by Evan
parent de1dbff570
commit 75fe718f16
13 changed files with 49 additions and 44 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import { Execution, Game, Player, MutableUnit, Unit, UnitType } from "../game/Game";
import { Execution, Game, Player, Unit, UnitType } from "../game/Game";
import { PathFinder } from "../pathfinding/PathFinding";
import { PathFindResultType } from "../pathfinding/AStar";
import { consolex } from "../Consolex";
@@ -8,9 +8,9 @@ export class ShellExecution implements Execution {
private active = true
private pathFinder: PathFinder
private shell: MutableUnit
private shell: Unit
constructor(private spawn: TileRef, private _owner: Player, private ownerUnit: Unit, private target: MutableUnit) {
constructor(private spawn: TileRef, private _owner: Player, private ownerUnit: Unit, private target: Unit) {
}