EScene constructor
EScene({
- required double width,
- required double height,
- EColorShift? darkness,
- List<
EEffect> ? effects, - dynamic beforeUpdate()?,
- dynamic afterUpdate()?,
Implementation
EScene({
required double width,
required double height,
EColorShift? darkness,
List<EEffect>? effects,
Function()? beforeUpdate,
Function()? afterUpdate,
}) {
_width = width;
_height = height;
_darkness = darkness!;
_effects = effects!;
_beforeUpdate = beforeUpdate!;
_afterUpdate = afterUpdate!;
}