Skip to content

KeyClaims

namespace Griff.Scenes;
public static class KeyClaims

Asks what an entity’s components have claimed (see ClaimsKeysAttribute).

public static bool Claims(Entity entity, Key key)

True if a component on entity claims key.

public static bool ClaimsWheel(Entity entity)

True if a component on entity claims the mouse wheel.