Pick

class Pick(name: String = "")

Picks appear in a side panel of the editor, and can be picked and dropped onto a Stage when editing an Act.

Each Pick is a prototype for an Actor. Picks are grouped using PickGroup

Note. Pick should be considered an internal implementation used only by the Kyd editor. They are defined in subproject kyd-core (and not kyd-editor) because they are part of the .kyd file-format. But that part of the file-format isn't used during game-play, only by the editor.

Constructors

Link copied to clipboard
constructor(name: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
val nameProperty: StringProperty
Link copied to clipboard
Link copied to clipboard
val resourcePathProperty: StringProperty
Link copied to clipboard
Link copied to clipboard
val showLabelProperty: BooleanProperty
Link copied to clipboard
var tint: Color
Link copied to clipboard
val tintProperty: ColorProperty

Functions

Link copied to clipboard
fun copy(): Pick
Link copied to clipboard
fun createActor(game: Game, stage: Stage): Actor
Link copied to clipboard
Link copied to clipboard
fun resource(game: Game): Resource?
Link copied to clipboard
fun role(game: Game): Role?