Метод | Описание | |
---|---|---|
CanLaunchSpell ( ) : bool |
Check if the combination of runes exists in the database
|
|
ChangeRunePosition ( int actualPosition, int newPosition ) : bool |
Change a rune's position if it doesn't break the chain to the center.
|
|
EverythingIsConnectedToCenter ( Rune>.Dictionary |
Check if every runes placed on the board are correctly connected to the center
|
|
GetPolesInfluence ( float &perfection, float &sublimation, float &stability ) : void |
Calculates the percentage acquired from the influence of each pole on every rune.
|
|
GetRuneLinks ( ) : Element>>.List |
Creates a list containing every unique link between two runes placed on the board.
|
|
GetSortedElementList ( ) : List |
|
|
GetSortedElementQueue ( ) : Queue |
|
|
IsConnectedToCenter ( int position, List |
Return if the position is connected to the center
|
|
LogHand ( ) : void |
Display in console runes in Hand
|
|
LogRunesOnBoard ( ) : void |
Display in console runes on board
|
|
PlaceRuneOnBoard ( int index, int position ) : int |
Verify if you can place a rune at the position, and place it if it is OK.
|
|
RemoveAllRunes ( ) : void |
Remove all runes from the runic board and put them back in the hand.
|
|
RemoveAllRunesExceptHistory ( bool ignoreSecond ) : void | ||
RemoveAllRunesFromThisTurn ( ) : void |
Remove all runes that were placed on the current turn.
|
|
RemoveRuneFromBoard ( int position, bool sendRemove = true ) : bool |
Remove a rune from the board at this position, and put in back in the hand.
|
|
RunicBoard ( ) : UnityEngine | ||
RunicBoard ( Rune>.Dictionary |
||
Testing ( ) : void |
Метод | Описание | |
---|---|---|
GetAdjacentPositions ( int position ) : List |
Get adjacent positions to the one in parameter.
|
|
GetNeighboursPosition ( int position ) : List |
Get positions of runes adjacent to the position in parameter using runesOnBoard
|
|
GetNeighboursPosition ( int position, Rune>.Dictionary |
get positions of runes adjacent to the position in paramater, using the board in paramater
|
|
PositionExists ( int p ) : bool |
Check if the position exists on the board.
|
public ChangeRunePosition ( int actualPosition, int newPosition ) : bool | ||
actualPosition | int | The actual position if the rune to move |
newPosition | int | Where to place the rune |
Результат | bool |
public EverythingIsConnectedToCenter ( Rune>.Dictionary |
||
board | Rune>.Dictionary | The board to test |
Результат | bool |
public GetPolesInfluence ( float &perfection, float &sublimation, float &stability ) : void | ||
perfection | float | The perfection percentage. |
sublimation | float | The sublimation percentage. |
stability | float | The stability percentage. |
Результат | void |
public IsConnectedToCenter ( int position, List |
||
position | int | The position to test |
explored | List |
List of explored positions |
board | Rune>.Dictionary | The board to test |
Результат | bool |
public PlaceRuneOnBoard ( int index, int position ) : int | ||
index | int | The index in runesInHand list |
position | int | The position where the rune will be placed |
Результат | int |
public RemoveAllRunesExceptHistory ( bool ignoreSecond ) : void | ||
ignoreSecond | bool | |
Результат | void |
public RemoveAllRunesFromThisTurn ( ) : void | ||
Результат | void |
public RemoveRuneFromBoard ( int position, bool sendRemove = true ) : bool | ||
position | int | The position where the rune is expected to be |
sendRemove | bool | |
Результат | bool |
public RunicBoard ( Rune>.Dictionary |
||
hand | Rune>.Dictionary | |
Результат | UnityEngine |