Axiom.Overlays.Elements.Panel.TilingAttributeCommand.Get C# (CSharp) Method

Get() public method

Gets the value for this command from the target object.
public Get ( object target ) : string
target object
return string
			public string Get( object target )
			{
				var element = target as Panel;
				if ( element != null )
				{
					// NOTE: Only returns the top tiling
					return String.Format( "{0} {1} {2}", "0", element.GetTileX( 0 ), element.GetTileY( 0 ) );
				}
				else
				{
					return String.Empty;
				}
			}
Panel.TilingAttributeCommand