Skip to content

Commit

Permalink
docs: document ActionOnKey
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Sep 12, 2024
1 parent 343b995 commit e009be4
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ import it.unibo.alchemist.boundary.fxui.interaction.TriggerAction
import javafx.scene.input.KeyCode

/**
* The [TriggerAction] objects regarding key strokes.
* The [TriggerAction] objects regarding keystrokes,
* which can be either [ActionOnKey.PRESSED] or [ActionOnKey.RELEASED].
*/
enum class ActionOnKey {
/**
* The key was pressed.
*/
PRESSED,

/**
* The key was released.
*/
RELEASED,
;

Expand Down

0 comments on commit e009be4

Please sign in to comment.