Home Reference Source Repository
public class | source

CompositeStrategy

Extends:

Strategy → CompositeStrategy

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

getNextMove(dungeon: *, creature: *): undefined

public

observeMove(dungeon: *, observer: *, actor: *, move: *)

Inherited Summary

From class Strategy
public

getNextMove(dungeon: *, creature: *)

public

observeMove(dungeon: *, observer: *, actor: *, move: *)

Public Constructors

public constructor() source

Public Methods

public getNextMove(dungeon: *, creature: *): undefined source

Override:

Strategy#getNextMove

Params:

NameTypeAttributeDescription
dungeon *
creature *

Return:

undefined

public observeMove(dungeon: *, observer: *, actor: *, move: *) source

Override:

Strategy#observeMove

Params:

NameTypeAttributeDescription
dungeon *
observer *
actor *
move *