Roulette 1.0
Roulette game template
Loading...
Searching...
No Matches
GBTemplates.Roulette.Chip Class Reference

The chip, this monobehivour handles the game piece, which is dragged to the game table, etc. More...

Inheritance diagram for GBTemplates.Roulette.Chip:

Public Member Functions

void SetRoulette (Roulette roulette)
 Sets the roulette for this chip.
 
void SetChip (RouletteCommand command)
 Sets the chip ussing the command pattern.
 
void SetPositionToBoard ()
 Sets the position to board.
 
void BackToOriginalParent ()
 Backs the to original parent.
 
void Earse ()
 Earses the chip movement when are on the board using command pattern.
 
void OnPointerDown (PointerEventData eventData)
 Ons the pointer down check if manual erasing actived and Earses the chip movement when are on the board using command pattern.
 

Public Attributes

Vector3 sizeTargetOnBoard = new Vector3(0.35f, 0.35f, 0.35f)
 

Properties

Roulette roulette [get]
 
RouletteCommand command [get]
 
bool isOnBoard = false [get]
 

Detailed Description

The chip, this monobehivour handles the game piece, which is dragged to the game table, etc.

Member Function Documentation

◆ OnPointerDown()

void GBTemplates.Roulette.Chip.OnPointerDown ( PointerEventData  eventData)

Ons the pointer down check if manual erasing actived and Earses the chip movement when are on the board using command pattern.

Parameters
eventDataThe event data.

◆ SetChip()

void GBTemplates.Roulette.Chip.SetChip ( RouletteCommand  command)

Sets the chip ussing the command pattern.

Parameters
commandThe command.

◆ SetRoulette()

void GBTemplates.Roulette.Chip.SetRoulette ( Roulette  roulette)

Sets the roulette for this chip.

Parameters
rouletteThe roulette.

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