Methods
Static consumeResource
- consumeResource(resource, amount): ActionNode
Parameters
- resource: string
- amount: number
Static gatherResource
- gatherResource(resource, amount): ActionNode
Parameters
- resource: string
- amount: number
Static transferResource
- transferResource(resource, _targetAgentId, amount): ActionNode
Parameters
- resource: string
- _targetAgentId: string
- amount: number
Resource management behaviors