[This is preliminary documentation and is subject to change.]

Creates an instance for this configured brush, for use with a specific DrawOperation.

Namespace: fCraft.Drawing
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
IBrushInstance MakeInstance(
	Player player,
	CommandReader cmd,
	DrawOperation op
)

Parameters

player
Player
Player who will be using this brush. Errors and warnings about the brush creation should be communicated by messaging the player.
cmd
CommandReader
Parameters passed to the DrawOperation. If any are given, these parameters should generally replace any stored configuration.
op
DrawOperation
DrawOperation that will be using this brush.

Return Value

A newly-made brush, or null if there was some problem with parameters/permissions.

See Also