C# Class SoldierEventController

Inheritance: LandUnitEventController
Mostrar archivo Open project: BornToGrill/Project-Frequency

Public Properties

Property Type Description
BuildAllowedColor Color
BuildNotAllowedColor Color

Public Methods

Method Description
CreateStructure ( string structureName ) : void
OnClicked ( GameObject ownTile, GameObject clickedTile ) : DeselectStatus
OnMouseEnter ( GameObject ownTile, GameObject hoveredTile ) : void
OnMouseLeave ( GameObject ownTile, GameObject hoveredTile ) : void
OnSelected ( GameObject ownTile ) : DeselectStatus

Method Details

CreateStructure() public method

public CreateStructure ( string structureName ) : void
structureName string
return void

OnClicked() public method

public OnClicked ( GameObject ownTile, GameObject clickedTile ) : DeselectStatus
ownTile GameObject
clickedTile GameObject
return DeselectStatus

OnMouseEnter() public method

public OnMouseEnter ( GameObject ownTile, GameObject hoveredTile ) : void
ownTile GameObject
hoveredTile GameObject
return void

OnMouseLeave() public method

public OnMouseLeave ( GameObject ownTile, GameObject hoveredTile ) : void
ownTile GameObject
hoveredTile GameObject
return void

OnSelected() public method

public OnSelected ( GameObject ownTile ) : DeselectStatus
ownTile GameObject
return DeselectStatus

Property Details

BuildAllowedColor public_oe property

public Color BuildAllowedColor
return Color

BuildNotAllowedColor public_oe property

public Color BuildNotAllowedColor
return Color