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

BuffAppliedEvent

Extends:

GameEvent → BuffAppliedEvent

Constructor Summary

Public Constructor
public

constructor(dungeon: *, creature: *, buff: *)

Method Summary

Public Methods
public

getBuff(): *

public
public

getText(): *

Inherited Summary

From class GameEvent
public
public
public

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

Public Constructors

public constructor(dungeon: *, creature: *, buff: *) source

Override:

GameEvent#constructor

Params:

NameTypeAttributeDescription
dungeon *
creature *
buff *

Public Methods

public getBuff(): * source

Return:

*

public getCreature(): * source

Return:

*

public getText(): * source

Override:

GameEvent#getText

Return:

*