C# Class XNAGraphics.ComponentBundle.LayerBundle.LayerCollection

Inheritance: XNAGraphics.KernelBundle.BasicsBundle.BasicCollection
Mostra file Open project: joseruizjimenez/personal-training-martial-arts Class Usage Examples

Public Methods

Method Description
LayerCollection ( string identifier ) : System
LayerCollection ( string identifier, int priority ) : System
comparePriority ( Object x, Object y ) : int
get ( string identifier ) : Layer
sortByPriority ( ) : void

Sort layers in collection by layer priority.

Method Details

LayerCollection() public method

public LayerCollection ( string identifier ) : System
identifier string
return System

LayerCollection() public method

public LayerCollection ( string identifier, int priority ) : System
identifier string
priority int
return System

comparePriority() public method

public comparePriority ( Object x, Object y ) : int
x Object
y Object
return int

get() public method

public get ( string identifier ) : Layer
identifier string
return Layer

sortByPriority() public method

Sort layers in collection by layer priority.
public sortByPriority ( ) : void
return void