PhysicalEntity<TGame extends LeapGame> constructor
PhysicalEntity<TGame extends LeapGame> ({
- bool static = false,
- Iterable<
Behavior< ? behaviors,PhysicalEntity< >LeapGame> > - int? priority,
- Vector2? position,
- Vector2? size,
Implementation
PhysicalEntity({
this.static = false,
Iterable<Behavior<PhysicalEntity>>? behaviors,
super.priority,
super.position,
super.size,
}) : super(
behaviors: _physicalBehaviors(
static: static,
extra: behaviors,
),
);