Home Reference Source Repository
import PositionChangeEvent from 'roguelike/app/events/PositionChangeEvent.js'
public class | source

PositionChangeEvent

Extends:

GameEvent → PositionChangeEvent

Constructor Summary

Public Constructor
public

constructor(dungeon: *, creature: *, x: *, y: *)

Method Summary

Public Methods
public
public
public

getText(): *

public
public

isSeenBy(dungeon: *, creature: *): *

Inherited Summary

From class GameEvent
public
public
public

isSeenBy(dungeon: *, creature: *): boolean

Public Constructors

public constructor(dungeon: *, creature: *, x: *, y: *) source

Override:

GameEvent#constructor

Params:

NameTypeAttributeDescription
dungeon *
creature *
x *
y *

Public Methods

public getCreature(): * source

Return:

*

public getFromCoords(): * source

Return:

*

public getText(): * source

Override:

GameEvent#getText

Return:

*

public getToCoords(): * source

Return:

*

public isSeenBy(dungeon: *, creature: *): * source

Override:

GameEvent#isSeenBy

Params:

NameTypeAttributeDescription
dungeon *
creature *

Return:

*