C# Class Nez.Tiled.TiledObjectGroup

ファイルを表示 Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
color Color
name string
objects Nez.Tiled.TiledObject[]
opacity float
properties string>.Dictionary
visible bool

Public Methods

Method Description
TiledObjectGroup ( string name, Color color, bool visible, float opacity ) : System
objectWithName ( string name ) : TiledObject

gets the first TiledObject with the given name

objectsWithName ( string name ) : List

gets all the TiledObjects with the given name

Method Details

TiledObjectGroup() public method

public TiledObjectGroup ( string name, Color color, bool visible, float opacity ) : System
name string
color Color
visible bool
opacity float
return System

objectWithName() public method

gets the first TiledObject with the given name
public objectWithName ( string name ) : TiledObject
name string Name.
return TiledObject

objectsWithName() public method

gets all the TiledObjects with the given name
public objectsWithName ( string name ) : List
name string Name.
return List

Property Details

color public_oe property

public Color color
return Color

name public_oe property

public string name
return string

objects public_oe property

public TiledObject[],Nez.Tiled objects
return Nez.Tiled.TiledObject[]

opacity public_oe property

public float opacity
return float

properties public_oe property

public Dictionary properties
return string>.Dictionary

visible public_oe property

public bool visible
return bool