TcadMatch3Game Class

Unit: cMatch3Game
TFrame
  cMatch3Game.TcadMatch3Game
type TcadMatch3Game = class(TFrame)

The TcadMatch3Game type exposes the following members.

Show:
 NameDescription
Create

Constructor of an instance of this class

Destroy

Destructor of current instance

Top
Show:
 NameDescription
BackgroundColor

Color of the game layout background

EnableMoveLines

Enable to move a column or row instead of swapping two adjacent cells.

EnableSwapTiles

Enable the exchange of two adjacent cells : clic on first and move to the other or clic on both.

Grid

Access to the CellType of grid cells

NbCol

NbMaxDifferentTiles

Used to choice what tiles can be added to the game grid

NbRow

OnMatch3Event

Event called if a match-3 happened and if it's assigned.

OnMatch3Proc

Anonymous code called if a match-3 happened and if it's assigned.

OnMoveButNoMatch3Event

Event called if the player moved but no match-3 happened and if it's assigned.

OnMoveButNoMatch3Proc

Anonymous code called if the player moved but no match-3 happened and if it's assigned.

SVGItems

SelectedBackgroundColor

Color of the background for selected tiles or lines (depending on the game mode and what will be moved)

UseMatchDirection

Contains the direction used to move the cells and fill the grid after a match-3

Top