C# Class ctac.PiecesMediator

Inheritance: strange.extensions.mediation.impl.Mediator
显示文件 Open project: dshook/centauri-tac

Private Properties

Property Type Description
checkEnemiesInRange void
disableTargetCandidate void
onAnimFinished void
onPieceDied void
onStartSelectAbilityTarget void
onStartSelectTarget void
onTargetAbilityCancel void
onTargetAbilitySelected void
onTargetCancel void
onTargetSelected void
onTurnEnded void

Public Methods

Method Description
OnRegister ( ) : void
onArmorChange ( PieceArmorChangeModel armorChange ) : void
onAttacked ( AttackPieceModel attackPiece ) : void
onAttrChange ( PieceAttributeChangeModel attrChange ) : void
onBuffed ( PieceBuffModel pieceBuff ) : void
onCharmed ( CharmPieceModel charm ) : void
onHealthChange ( PieceHealthChangeModel hpChange ) : void
onMove ( PieceMovedModel pieceMoved ) : void
onRemove ( ) : void
onRotated ( RotatePieceModel rotatePiece ) : void
onStatusChange ( PieceStatusChangeModel pieceStatusChange ) : void
onTransformed ( TransformPieceModel transformed ) : void

Private Methods

Method Description
checkEnemiesInRange ( ) : void
disableTargetCandidate ( ) : void
onAnimFinished ( PieceModel pieceModel ) : void
onPieceDied ( PieceModel p ) : void
onStartSelectAbilityTarget ( StartAbilityTargetModel model ) : void
onStartSelectTarget ( TargetModel model ) : void
onTargetAbilityCancel ( PieceModel card ) : void
onTargetAbilitySelected ( StartAbilityTargetModel c, PieceModel m ) : void
onTargetCancel ( CardModel card ) : void
onTargetSelected ( TargetModel c ) : void
onTurnEnded ( GameTurnModel turns ) : void

Method Details

OnRegister() public method

public OnRegister ( ) : void
return void

onArmorChange() public method

public onArmorChange ( PieceArmorChangeModel armorChange ) : void
armorChange PieceArmorChangeModel
return void

onAttacked() public method

public onAttacked ( AttackPieceModel attackPiece ) : void
attackPiece AttackPieceModel
return void

onAttrChange() public method

public onAttrChange ( PieceAttributeChangeModel attrChange ) : void
attrChange PieceAttributeChangeModel
return void

onBuffed() public method

public onBuffed ( PieceBuffModel pieceBuff ) : void
pieceBuff PieceBuffModel
return void

onCharmed() public method

public onCharmed ( CharmPieceModel charm ) : void
charm CharmPieceModel
return void

onHealthChange() public method

public onHealthChange ( PieceHealthChangeModel hpChange ) : void
hpChange PieceHealthChangeModel
return void

onMove() public method

public onMove ( PieceMovedModel pieceMoved ) : void
pieceMoved PieceMovedModel
return void

onRemove() public method

public onRemove ( ) : void
return void

onRotated() public method

public onRotated ( RotatePieceModel rotatePiece ) : void
rotatePiece RotatePieceModel
return void

onStatusChange() public method

public onStatusChange ( PieceStatusChangeModel pieceStatusChange ) : void
pieceStatusChange PieceStatusChangeModel
return void

onTransformed() public method

public onTransformed ( TransformPieceModel transformed ) : void
transformed TransformPieceModel
return void