ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
HumanMoveButton Class Reference

Script that controls a UI button for performing human moves. More...

+ Inheritance diagram for HumanMoveButton:
+ Collaboration diagram for HumanMoveButton:

Classes

class  IntEvent
 Type of Unity event that accepts an int, used for indicating the column associated with the clicked button. More...
 

Properties

int Column [get, set]
 Board column to which the button is associated. More...
 
bool? Open [set]
 Open or close the arrow button. An open button can be clicked, usually meaning that the associated column still has space for at least one more piece. A closed button cannot be clicked, and usually implies that the associated column is full. More...
 
IntEvent Click [get]
 Unity event to be invoked when a button is clicked. More...
 

Detailed Description

Script that controls a UI button for performing human moves.

Property Documentation

◆ Click

IntEvent Click
get

Unity event to be invoked when a button is clicked.

A Unity event which accepts integers.

◆ Column

int Column
getset

Board column to which the button is associated.

Value between 0 and SessionController.cols - 1.

◆ Open

bool? Open
set

Open or close the arrow button. An open button can be clicked, usually meaning that the associated column still has space for at least one more piece. A closed button cannot be clicked, and usually implies that the associated column is full.

true if the button is to be opened, false if the button is to be closed.


The documentation for this class was generated from the following file: