GameCard
Inherits: Control
Properties
| Type | Name | Default |
|---|---|---|
| BoxArtManager | boxart_manager | |
| bool | show_label | false |
| String | text | "Game Name" |
| bool | show_progress | false |
| float | value | 50.0 |
| LibraryItem | library_item | |
| int | tapped_count | 0 |
| CustomLogger | logger | |
| Node | texture | |
| Node | name_container | |
| Node | name_label | |
| ProgressBar | progress | |
| Timer | tap_timer | |
| ColorRect | shine_rect | |
| ColorRect | god_rays_rect |
Methods
| Returns | Signature |
|---|---|
| void | set_texture(new_texture: Texture2D) |
| void | set_library_item(item: LibraryItem, free_on_remove: bool = true) |
Property Descriptions
boxart_manager
BoxArtManager boxart_manager
Note
There is currently no description for this property. Please help us by contributing one!
show_label
bool show_label = false
Note
There is currently no description for this property. Please help us by contributing one!
text
String text = "Game Name"
Note
There is currently no description for this property. Please help us by contributing one!
show_progress
bool show_progress = false
Note
There is currently no description for this property. Please help us by contributing one!
value
float value = 50.0
Note
There is currently no description for this property. Please help us by contributing one!
library_item
LibraryItem library_item
Note
There is currently no description for this property. Please help us by contributing one!
tapped_count
int tapped_count = 0
Note
There is currently no description for this property. Please help us by contributing one!
logger
CustomLogger logger
Note
There is currently no description for this property. Please help us by contributing one!
texture
Node texture
Note
There is currently no description for this property. Please help us by contributing one!
name_container
Node name_container
Note
There is currently no description for this property. Please help us by contributing one!
name_label
Node name_label
Note
There is currently no description for this property. Please help us by contributing one!
progress
ProgressBar progress
Note
There is currently no description for this property. Please help us by contributing one!
tap_timer
Timer tap_timer
Note
There is currently no description for this property. Please help us by contributing one!
shine_rect
ColorRect shine_rect
Note
There is currently no description for this property. Please help us by contributing one!
god_rays_rect
ColorRect god_rays_rect
Note
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
set_texture()
void set_texture(new_texture: Texture2D)
Sets the texture on the given card and sets the shader params
set_library_item()
void set_library_item(item: LibraryItem, free_on_remove: bool = true)
Configures the card with the given library item.