addEffect method

void addEffect(
  1. PositionComponentEffect effect
)

Implementation

void addEffect(PositionComponentEffect effect) {
  _effects.add(effect..initialize(this));
}