Delegate ColorTool.ObjectSelectedDelegate
A delegate method used by OnObjectSelected. For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
public delegate void ColorTool.ObjectSelectedDelegate(object obj, ref Action<Element, SpriteBatch, GameTime, int[]> drawPreview, ref Action<int[]> applyColors, ref float applyPrice, ref int[] colors, ref ColorSettings colorSettings)
Parameters
objobject- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
drawPreviewAction<Element, SpriteBatch, GameTime, int[]>- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
applyColorsAction<int[]>- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
applyPricefloat- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
colorsint[]- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
colorSettingsColorSettings- A delegate method used by . For custom object types, all reference parameters should be set to the appropriate values for drawing the preview, applying colors, and setting the price.
- Extension Methods