Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 23, 2025
1 parent 8c906e9 commit 064eac2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ interface Character : Entity, Variable, EventDispatcher, Comparable<Character> {
exactMove(target.delta(tile), delay, direction, startDelay)
}

/**
* Force a message to be displayed above character
*/
fun say(message: String) {
visuals.say.text = message
flagSay()
Expand All @@ -97,6 +100,9 @@ interface Character : Entity, Variable, EventDispatcher, Comparable<Character> {
}
}

/**
* Remove any graphical effects in progress
*/
fun clearGfx() {
visuals.primaryGraphic.reset()
flagPrimaryGraphic()
Expand Down

0 comments on commit 064eac2

Please sign in to comment.