15 lines
363 B
JavaScript
15 lines
363 B
JavaScript
import { OptionsColor } from "../../OptionsColor";
|
|
export class MoveTrailFill {
|
|
load(data) {
|
|
if (!data) {
|
|
return;
|
|
}
|
|
if (data.color !== undefined) {
|
|
this.color = OptionsColor.create(this.color, data.color);
|
|
}
|
|
if (data.image !== undefined) {
|
|
this.image = data.image;
|
|
}
|
|
}
|
|
}
|