C# Class WallTile

A piece of the wall
Inheritance: Tile
Afficher le fichier Open project: TheJP/GlobalGameJam2016 Class Usage Examples

Méthodes publiques

Свойство Type Description
defaultSprite Sprite
useDefaultSprite bool
wallSprites Sprite[]

Méthodes publiques

Méthode 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 méthode

public GetCellDimensions ( ) : Vector3
Résultat Vector3

MarkAsHighlighted() public méthode

public MarkAsHighlighted ( ) : void
Résultat void

MarkAsPath() public méthode

public MarkAsPath ( ) : void
Résultat void

MarkAsReachable() public méthode

public MarkAsReachable ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

UnMark() public méthode

public UnMark ( ) : void
Résultat void

UseDefaultSprite() public méthode

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

Property Details

defaultSprite public_oe property

public Sprite defaultSprite
Résultat Sprite

useDefaultSprite public_oe property

public bool useDefaultSprite
Résultat bool

wallSprites public_oe property

public Sprite[] wallSprites
Résultat Sprite[]