Skip to content

Commit

Permalink
Add KDoc to Pane.kt.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankluempers committed Aug 10, 2021
1 parent 0ad726d commit a105a31
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,22 @@
package tools.aqua.bgw.components.layoutviews

import tools.aqua.bgw.components.ComponentView
import tools.aqua.bgw.components.container.GameComponentContainer
import tools.aqua.bgw.observable.IObservable
import tools.aqua.bgw.observable.ObservableArrayList
import tools.aqua.bgw.util.Coordinate
import tools.aqua.bgw.visual.Visual

//TODO: Docs
/**
* A [Pane] can be used to group [ComponentView]s for easier
* position management and layout.
*
* @param posX horizontal coordinate for this [Pane]. Default: 0.
* @param posY vertical coordinate for this [Pane]. Default: 0.
* @param width width for this [Pane].
* @param height height for this [Pane].
* @param visual visual for this [Pane]. Default: [Visual.EMPTY].
*/
open class Pane<T : ComponentView>(
posX: Number = 0,
posY: Number = 0,
Expand Down

0 comments on commit a105a31

Please sign in to comment.