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
$applied
private
mixed
$applied
= false
$message
private
mixed
$message
= ""
Methods
__construct()
Create a new BuffMessageEvent.
public
__construct(string $message) : mixed
Parameters
- $message : string
-
The message from the buff.
Return values
mixed —apply()
Applies the event.
public
apply() : mixed
Tags
Return values
mixed —decorate()
Returns a string describing the event.
public
decorate(Game $game) : string
Parameters
- $game : Game
Tags
Return values
string —getMessage()
Return the message.
public
getMessage() : string