-
-
Notifications
You must be signed in to change notification settings - Fork 107
Board
Extends: Control
Mean to serve as the main play area for Card objects.
It functions almost like a CardContainer.
var counters: Counters
Simulated mouse position for Unit Testing Simulated mouse position for Unit Testing Simulated mouse position for Unit Testing Simulated mouse movement speed for Unit Testing. The bigger the number, the faster the mouse moves Set to true if there's an actual interpolation ongoing Used for interpolating Used for finding the counters node and modifying them This variable has to exist if the mod_counters task is to be used.
var mouse_pointer: MousePointer
func get_all_cards() -> Array
Returns an array with all children nodes which are of Card class
func get_all_scriptables() -> Array
Overridable function which returns all objects on the table which can be used as subjects by the scripting engine.
func get_card_count() -> int
Returns an int with the amount of children nodes which are of Card class
func get_card(idx: int) -> Card
Returns a card object of the card in the specified index among all cards.
func get_card_index(card: Card) -> int
Returns an int of the index of the card object requested
func get_grid(grid_name: String) -> BoardPlacementGrid
Returns the BoardPlacementGrid object with the specified name
func get_final_placement_node(card: Card) -> Node
warning-ignore:unused_argument