import IdleStrategy from 'roguelike/app/entities/creatures/strategies/IdleStrategy.js'
IdleStrategy
Extends:
Strategy → IdleStrategy
Method Summary
Public Methods | ||
public |
getNextMove(dungeon: *, creature: *): * |
|
public |
observeMove(dungeon: *, observer: *, actor: *, move: *) |
Inherited Summary
From class Strategy | ||
public |
getNextMove(dungeon: *, creature: *) |
|
public |
observeMove(dungeon: *, observer: *, actor: *, move: *) |
Public Methods
public getNextMove(dungeon: *, creature: *): * source
Override:
Strategy#getNextMoveParams:
Name | Type | Attribute | Description |
dungeon | * | ||
creature | * |
Return:
* |
public observeMove(dungeon: *, observer: *, actor: *, move: *) source
Override:
Strategy#observeMoveParams:
Name | Type | Attribute | Description |
dungeon | * | ||
observer | * | ||
actor | * | ||
move | * |