This contains the source code documentation of the class DialogicPortrait.
DialogicPortrait
Inherits: Node
Default portrait class. Should be extended by custom portraits.
Properties
| Name | Type | Default |
|---|---|---|
| character | DialogicCharacter | |
| portrait | String |
Methods
| Returns | Method |
|---|---|
| void | apply_character_and_portrait ( passed_character: DialogicCharacter, passed_portrait: String ) |
| void | apply_texture ( node: Node, texture_path: String ) |
Property Descriptions
Stores the character that this scene displays.
Stores the name of the current portrait.
Method Descriptions
func apply_character_and_portrait ( passed_character: DialogicCharacter, passed_portrait: String ) ⇒ void
Helper that quickly setups and checks the character and portrait.
func apply_texture ( node: Node, texture_path: String ) ⇒ void
No description available.