1 2 3 4 5 6 7 8 9 10 11 12
import { Component } from '@serpentity/serpentity'; /** * Stores the radius of a circle or sphere */ export default class Radius extends Component { constructor(config) { super(config); this.radius = this.radius || 5; } };