C# Class FloorTile

Inheritance: MonoBehaviour
ファイルを表示 Open project: TheJP/GlobalGameJam2016 Class Usage Examples

Public Properties

Property Type Description
crackedSprites Sprite[]
regularPerCrackedSprite int
regularSprites Sprite[]
runePrefab Rune

Public Methods

Method Description
AddItem ( ItemBase, item ) : void
GetCellDimensions ( ) : Vector3
MarkAsHighlighted ( ) : void
MarkAsPath ( ) : void
MarkAsReachable ( ) : void
RemoveItem ( ) : ItemBase
Start ( ) : void
UnMark ( ) : void

Method Details

AddItem() public method

public AddItem ( ItemBase, item ) : void
item ItemBase,
return void

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

RemoveItem() public method

public RemoveItem ( ) : ItemBase
return ItemBase

Start() public method

public Start ( ) : void
return void

UnMark() public method

public UnMark ( ) : void
return void

Property Details

crackedSprites public_oe property

public Sprite[] crackedSprites
return Sprite[]

regularPerCrackedSprite public_oe property

Determines how many regular sprites should exist in comparison to cracked ones.
public int regularPerCrackedSprite
return int

regularSprites public_oe property

public Sprite[] regularSprites
return Sprite[]

runePrefab public_oe property

public Rune runePrefab
return Rune