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

Creates a new brush for a player, based on given parameters.

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

Syntax

   
 C# 
IBrush MakeBrush(
	Player player,
	Command cmd
)

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
Command
Parameters passed to the /Brush command (after the brush name).

Return Value

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

See Also