Click or drag to resize
SpriteBaseSetSolidity Method
Set the solidity rules to which the sprite is currently reacting.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void SetSolidity(
	Solidity Solidity
)

Parameters

Solidity
Type: (Default Namespace)Solidity
Specified which solidity rules should adopt.
Remarks
Since solidity is based on tile categories which in turn can contain tiles from multiple tilesets, the same solidity definition can apply to any number of maps with different tilesets. So this doesn't need to be called just to handle tiles from a different tileset, but could be called to make the sprite act differently to all tiles (for example, to suddenly be able to traverse any water).
See Also