Skip to content

Commit

Permalink
Updated comments for listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
ben_pollard committed Nov 8, 2023
1 parent 0836d95 commit 5dcf9ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package com.github.benpollarduk.ktvn.logic.structure
*/
public interface ChapterListener {
/**
* Enter a [chapter].
* Invoke the listener to notify entry of a specified [chapter].
*/
public fun enter(chapter: Chapter)

/**
* Exit a [chapter].
* Invoke the listener to notify exit of a specified [chapter].
*/
public fun exit(chapter: Chapter)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package com.github.benpollarduk.ktvn.logic.structure
*/
public interface SceneListener {
/**
* Enter a [scene].
* Invoke the listener to notify entry of a specified [scene].
*/
public fun enter(scene: Scene)

/**
* Exit a [scene].
* Invoke the listener to notify exit of a specified [scene].
*/
public fun exit(scene: Scene)
}

0 comments on commit 5dcf9ae

Please sign in to comment.