Skip to content

Commit

Permalink
Added doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Apr 29, 2024
1 parent 2160d32 commit 4816dc2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/game/ui/UiGroupController.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ enum abstract GroupDir(Int) {
var West;
}


/**
This process takes care of interactions with a group of UiComponents.
This includes:
- focus/blur on a component,
- user interaction with a component,
- supports gamepad, keyboard and mouse.
USAGE:
- Add some UiComponents to your scene,
- Create a UiGroupController instance,
- Register the UiComponents in the UiGroupController.
**/
class UiGroupController extends dn.Process {
var uid : Int;
var ca : ControllerAccess<GameAction>;
Expand Down

0 comments on commit 4816dc2

Please sign in to comment.