MovementFlagsExtensions.Has

Extension Method in MovementFlagsExtensions

Declaration

public static bool Has(this MovementFlags flags, MovementFlags flag)

Description

Checks if the movement flags contains a specified flag.

Parameters

flagsThe movement flags to check.
flagThe other flag to check for.

Returns

bool