Documentation

BuffMessageEvent extends BattleEvent
in package

A battle event representing a message generated by a buff.

Table of Contents

$applied  : mixed
$message  : mixed
__construct()  : mixed
Create a new BuffMessageEvent.
apply()  : mixed
Applies the event.
decorate()  : string
Returns a string describing the event.
getMessage()  : string
Return the message.

Properties

Methods

__construct()

Create a new BuffMessageEvent.

public __construct(string $message) : mixed
Parameters
$message : string

The message from the buff.

Return values
mixed

decorate()

Returns a string describing the event.

public decorate(Game $game) : string
Parameters
$game : Game
Tags
inheritDoc
Return values
string

getMessage()

Return the message.

public getMessage() : string
Return values
string

Search results