Interface FunnelRequest

Request energy to a room for a purpose of making upgrading faster.

interface FunnelRequest {
    goalType: FunnelGoal;
    maxAmount: number;
    roomName: string;
    timeout?: number;
}

Properties

goalType: FunnelGoal

The type of goal that the energy will be spent on. The room receiving energy should focus solely on achieving this goal.

maxAmount: number

The amount of energy needed. Should be equal to the energy that needs to be put into the controller for achieving the goal.

roomName: string

The name of the room to which the energy should be sent. If undefined, resources can be sent to any of the requesting player's rooms.

timeout?: number

Tick after which the request should be ignored.

Generated using TypeDoc