C# Class WallTile

A piece of the wall
Inheritance: Tile
Mostra file Open project: TheJP/GlobalGameJam2016 Class Usage Examples

Public Properties

Property Type Description
defaultSprite Sprite
useDefaultSprite bool
wallSprites Sprite[]

Public Methods

Method Description
GetCellDimensions ( ) : Vector3
MarkAsHighlighted ( ) : void
MarkAsPath ( ) : void
MarkAsReachable ( ) : void
Start ( ) : void
UnMark ( ) : void
UseDefaultSprite ( bool value = true ) : void

Forces the wall to use the default sprite. Used for a more uniformed look.

Method Details

GetCellDimensions() public method

public GetCellDimensions ( ) : Vector3
return Vector3

MarkAsHighlighted() public method

public MarkAsHighlighted ( ) : void
return void

MarkAsPath() public method

public MarkAsPath ( ) : void
return void

MarkAsReachable() public method

public MarkAsReachable ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UnMark() public method

public UnMark ( ) : void
return void

UseDefaultSprite() public method

Forces the wall to use the default sprite. Used for a more uniformed look.
public UseDefaultSprite ( bool value = true ) : void
value bool
return void

Property Details

defaultSprite public_oe property

public Sprite defaultSprite
return Sprite

useDefaultSprite public_oe property

public bool useDefaultSprite
return bool

wallSprites public_oe property

public Sprite[] wallSprites
return Sprite[]