isHud property

  1. @override
bool isHud
override

Whether this component is a HUD (Heads-up display) object or not.

HUD objects ignore the FlameGame.camera when rendered (so their position coordinates are considered relative to the device screen).

Implementation

@override
bool get isHud => true;
void isHud=(bool _isHud)
inherited

Whether this component is a HUD (Heads-up display) object or not.

HUD objects ignore the FlameGame.camera when rendered (so their position coordinates are considered relative to the device screen).

Implementation

bool isHud = false;