sparkscript
Version:
DiamondFire for Javascript.
22 lines • 853 B
TypeScript
import { DFBlockAction, DFValueType } from "../core/types";
import { ActionBlock, ConditionalBlock } from "../core/components";
export declare class GameAction<Action extends DFBlockAction<"game_action">> extends ActionBlock<"game_action", Action> {
/**
* Used to do something related to the plot and everyone playing it.
* @param action Action to perform.
* @param args Arguments to pass.
*/
constructor(action: Action, ...args: DFValueType[]);
}
export declare class GameCondition<Condition extends DFBlockAction<"if_game">> extends ConditionalBlock<"if_game", Condition> {
/**
*
*/
constructor(action: Condition, ...args: DFValueType[]);
}
declare const _default: {
GameAction: typeof GameAction;
GameCondition: typeof GameCondition;
};
export default _default;
//# sourceMappingURL=Game.d.ts.map