Table of Contents

Delegate ColorTool.ObjectSelectedDelegate

Namespace
TinyLife.Tools
Assembly
TinyLife.dll

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

obj object
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.
drawPreview Action<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.
applyColors Action<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.
applyPrice float
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.
colors 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.
colorSettings ColorSettings
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