menu
flame_forge2d package
documentation
body_component.dart
BodyComponent<T extends Forge2DGame<Forge2DWorld>>
setPaint method
setPaint method
dark_mode
light_mode
setPaint
method
void
setPaint
(
Object
paintId
,
Paint
paint
)
inherited
Sets a paint on the collection.
Implementation
void setPaint(T paintId, Paint paint) { _paints[paintId] = paint; }
flame_forge2d package
documentation
body_component
BodyComponent<T extends Forge2DGame<Forge2DWorld>>
setPaint method
BodyComponent class