14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import {Gamesystem} from "../../gamesystems/Gamesystem";
|
|
import {State} from "../../gamesystems/states/State";
|
|
|
|
export class GamesystemCondition {
|
|
targetGamesystem: Gamesystem<any, any>
|
|
requieredState: State<any>;
|
|
|
|
|
|
constructor(targetGamesystem: Gamesystem<any, any>, requieredState: State<any>) {
|
|
this.targetGamesystem = targetGamesystem;
|
|
this.requieredState = requieredState;
|
|
}
|
|
}
|